Count diamonds level 1 by uru

begin
repeat
var a,b:char=#0;readln;repeat
read(b);inc(a,ord(b='*'))until'-'=b;writeln(ord(a)div 5)until 1=0end.

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

download

return to the top page