Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for Roman Numerals by melpon
def f(n,S):p,q,r,s=n//10,n%5,n//5%2,n%5//4;return(p and f(p,S[2:])or'')+S[1]*(r&(1-s))+S[0]*((q&3)+s)+S[r+1]*s
checkio=lambda n:f(n,'IVXLCDM ')
Feb. 14, 2014
Comments: