100 by smkt (tabasa)

#include <iostream>
#include <cstring>
#define c std::cout<<
#define e <<std::endl
char i,j,a[28][10]={"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thir","four","fif","six","seven","eigh","nine","twen","thir","for","fif","six","seven","eigh","nine"};main(){for(i=13;i<20;i++)strcat(a[i],"teen");for(i=0;i<20;i++)c a[i]e;for(i=20;i<28;i++){c strcat(a[i],"ty")e;for(j=1;j<10;j++)c a[i]<<" "<<a[j]e;}c"one hundred";}

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

download

return to the top page