Digital root Fixed by uru

main(_){for(;~scanf("%d",&_);printf("digital_root(%d)=%d\n",_,~-_%9+1));}

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

download

return to the top page