Count diamonds level 1 by pi8027

c,f;main(){for(;f+1;f=getchar())f-42||c++,f-45||c&&(printf("%d\n",c/5),c=0);}

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

download

return to the top page