Roman numeral by hallvabo

class R{static{try{for(int c,n,t=0;(c=System.in.read())>0;t=c>10?t+n-2*t%n:0){n=(int)Math.pow(10,205558%c%7)%1999;if(c<11)System.out.println(t);}}catch(Exception _){}}}

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

download

return to the top page