import std.stdio;void main(){int i=1,j,k,l,n;for(scanf("%d",&n);++j/n?puts="",j=++i<n:1;)for(k=n*n;k;k/=n)l=i*j/k,putchar=l?l%n+48+7*(l%n>9):32;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page