Count diamonds level 2 by kozima

(loop(format t"~A
"(loop until(eq(set'x(read))'#.(read))sum(if(boundp x)1/3 -1/3))))

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

download

return top