Convert hex to ASCII by %20

#import<cstdio>
main(int x){for(;~scanf("%x",&x);)printf(x-10?31<x&x<127?"%c":"\\x%02x":"\\n\n",x);}

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

download

return to the top page