b;B(a){a&&B(a/b)*putchar(a%b+48);}main(a){for(;~scanf("%d%d",&a,&b);B(a),puts(""));}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page