Yet Another Roman Numeral Problem by rotary-o(tails)

i;main(c){for(;read(0,&c,1);)i=c%5?i+c%5-2:!puts("VI\x00IV\x00VIII"+"\x06\x01\x08\x07\x03\x04"[i]);}

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page