100 by kazuki

i,a="zero\x00\x00one\x00\x00\x00two\x00\x00\x00three\x00four\x00\x00five\x00\x00six\x00\x00\x00seven\x00eight\x00nine\x00\x00ten\x00\x00\x00eleventwelve";main(){for(;i<101;puts(""),i++)printf(i>99?"one hundred":i<13?"%.6s":i<20?"%.5steen":i%10?"%.5sty %.6s":"%.5sty",i<13?a+i*6:i-14?"twen\x00thir\x00for\x00\x00fif\x00\x00six\x00\x00seveneigh\x00nine\x00"+(i<20?i-12:i/10-2)*5:a+24,a+i%10*6);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page