Roman numeral by nu

p,s;main(k){for(;k=~getchar();p=!k?s=printf("%d\n",s):k)k=" \xfb\x9c\xce\xf6\x00\xff\xf6"[k&7]*(k%13/7|~9),s+=p<k?-p:p;}

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

download

return to the top page