Count of circles in a number aka 2581 by clock

_:$<\n
#include"std/num.wake"
(.*?)\n(.*):0_$1"\n"$2
(.*_.*)8(.*):$1$200
(.*)_(.*)[069].*:$(add($1,1))_$2
(.*)_.*:"$1"

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

download

return to the top page