checkers pattern by 51b

import std.stdio;void main(){int i,m,n;for(scanf("%d%d",&n,&m);i<m*n;)writef(i/m+i%m&1^1,++i%m?" ":\n);}

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

download

return to the top page