Re:The never-ending finite loop
by SamReidHughes on Monday August 02, 2010 @03:56PM
(#1568828)
Here's a 43-character solution.
[ Parent
| on HN ]
Re:The never-ending finite loop
by SamReidHughes on Monday August 02, 2010 @05:53PM
(#1569236)
Aha! 42 characters!
for(int x[99]={1};++x[++*x]?*x=1:!x[98];);
Re:The never-ending finite loop
by SamReidHughes on Monday August 02, 2010 @06:08PM
(#1569284)
Aah! 40 characters!
for(int x[99]={98};++x[*x]?*x=98:--*x;);
Re:The never-ending finite loop
by SamReidHughes on Monday August 02, 2010 @06:11PM
(#1569297)
Sigh. 39 characters!
for(int x[99]={1};++x[*x]?*x=98:--*x;);