base convert by Lost_dog

m@main=getLine>>=print.f.map read.words>>m
f[0,_]=0
f[x,y]=x`mod`y+10*f[x`div`y,y]

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

download

return to the top page