3 ms·
Aha! 42 characters! for(int x[99]={1};++x[++*x]?*x=1:!x[98];);
by SamReidHughes 16y ago
Aha! 42 characters!
for(int x[99]={1};++x[++*x]?*x=1:!x[98];);
- SamReidHughes 16y agoAah! 40 characters! for(int x[99]={98};++x[*x]?*x=98:--*x;);
- SamReidHughes 16y agoSigh. 39 characters! for(int x[99]={1};++x[*x]?*x=98:--*x;);