f=proc{|a,b|r=1 a<1||(1..11).find{r<=(c=a%r<<=4)&&c<b&&f[a/r,c]}} loop{p f[gets.hex,1<<44]}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page