electronic dice by chocobi

main(c,d){for(;~scanf("%d",&c);printf("%d 0 %d\n%d %d %d\n%d 0 %d\n\n",c>2,d,c>5,c%2,c>5,d,c>2))d=c==2||c>3;}

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

download

return to the top page