Count of circles in a number aka 2581 by teebee

<?for(;$c=count_chars(~~fgets(STDIN));)echo$c[48]+$c[54]+2*$c[56]+$c[57],~\xf5;

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

download

return to the top page