The Ruins of Fooland
All submissions for this problem are available.
Fooland historians discovered a ancient language in the ruins of a great city! They need your help in encoding the decimal number system to this new launguage.Apparently the encoded bits are all alphabets and are based on the ascii codes and the hexadecimal number system.As the scientists uravel the code you are hired to program a C/C++ program to encode the decimal number system.Using the input and corresponding outputs given below write the program.
The first line will consist of the total number of test cases T(1<=T<=10).
The next T lines will consist of one number on each line. This is the number N(1<=N<=100000000).
For each test case, output a single line which returns the corresponding coded message.
|Time Limit:||1 sec|
|Source Limit:||50000 Bytes|
|Languages:||CPP14, PYTH 3.5, PYPY, GO, NODEJS, rust, swift, WSPC, ICK, BF, PRLG, JS, kotlin, PERL6, TEXT, SCM chicken, CLOJ, COB, FS|
Fetching successful submissions
If you are still having problems, see a sample solution here.