Count diamonds level 2 by 51b

m;main(s){for(;~scanf("%s",&s);)s=m+=s%2*m?printf("%d\n",m/2),-m:s==42;}

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

download

return to the top page