Count diamonds level 1 by pooq

var c:char;a,i:comp;begin repeat a:=0;i:=0;repeat read(c);if c='*'then inc(a);inc(i)until i=451;writeln(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