Roman numeral by nn

p,n;main(c){for(;c=~getchar();n+=p=p<c?c-2*p:c)c=L"\x3e8\x05\x00\n\x01d\7642"[~c%23%8]?:(n=!printf("%d\n",n));}

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

download

return to the top page