Count diamonds level 2 by nn

for(l=n=0;/ \* /g(l)?++n:l=readline();)'-'<l&&n?n=print(n/2)|0:0

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

download

return to the top page