Digital root Fixed by clock

stdin.get_s(3K).split("
"){%f"digital_root(%s)=%d"(it,~-it.to_i%9+1).p;}

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

download

return to the top page