Count of circles in a number aka 2581 by teebee(ush)

s:0;j:1K;j.times{i:stdin.get_i8;s+=j<9||i>10?9967%i/27:-s.p;j=i;}

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

download

return to the top page