Count diamonds level 1 by chocobi

n,c;main(){for(;~scanf("%1s",&c);)n=c&1?n?!printf("%d\n",n/5):n:n+1;}

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

download

return to the top page