checkers pattern by inaniwa

i;main(x,y){for(scanf("%d%d",&y,&x);i++<y*x;)printf(i%x?"%d ":"%d\n",~x%2&~-i/x%2^i%2);}

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

download

return to the top page