checkers pattern by hinoe

i;main(x,y){for(scanf("%d%d",&y,&x);i<x*y;printf("%d%c",i%x+i++/x&1^1,~i%x?32:10));}

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

download

return to the top page