TPK algorithm: Difference between revisions

Content deleted Content added
PGSONIC (talk | contribs)
Cleanup and addition of a Ruby program. My Ruby program is free for distribution as long as you credit me.
PGSONIC (talk | contribs)
No edit summary
Line 21:
 
===[[ALGOL 60]]===
<code> <!-- You use <source>, not <code>, if you use the lang attribute. Even so, ALGOL is not supported by <source>. -->
<source lang="algol">
'''begin integer''' i; '''real''' y; '''real array''' a[0:10];
'''real procedure''' f(t); '''real''' t; '''value''' t;
Line 41:
<source lang="perl">
map print(($_>400?"TOO LARGE":$_).$/),reverse map 5*($x=<>)**3+sqrt abs$x,1..11
</codesource>
 
===Python version===