FF PP ZZ by gen_witt

char*s,t[4];main(b,i,j,k){b=atoi(gets(t));for(i=1;i<b;++i){for(j=1;j<b;++j){strcpy(t,"  0");k=i*j;for(s=t+2;k>0;--s,k/=b){*s=k%b>9?'7'+k%b:'0'+k%b;}printf(t);}puts("");}}

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

download

return to the top page