Roman numeral by inaniwa

s;main(a){for(;a="\x9c\x05\xff\n\x01d\xce2"[getchar()%23%8];s=~a?a*=a>0?:-10,s+a-s%a*2:!printf("%d\n",s));}

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

download

return to the top page