$s=<>;for$r(1..$s){for(1..$s){($_!=1&&$_!=$s&&$r!=1&&$r!=$s)?print 0:print 1}print" ";}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page