i;main(j){for(scanf("%d",&j);i++<j*j;i%j?putchar(49-(i/j&&i/j-j+1&&~-i%j)):puts("1"));}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page