Count of circles in a number aka 2581 by clock

L S =INPUT :F()
M S ANY(12357) = :S(M)
 S 8 =99 :S(M)
 OUTPUT =SIZE(S) :(L)
END

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

download

return to the top page