Count diamonds level 1 by nn

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

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

download

return to the top page