The Ruins of FoolandProblem code: CE03 |
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.
Input:
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).Output:
For each test case, output a single line which returns the corresponding coded message.Example:
Input:3
23
45
2345
Output:
AG
BD
IBI
| Author: | cerebration |
| Date Added: | 22-03-2010 |
| Time Limit: | 1 sec |
| Source Limit: | 50000 Bytes |
| Languages: | BF, CLOJ, CPP 4.3.2, F#, GO, ICK, JS, PERL6, PRLG, PYTH 3.1.2, TEXT, WSPC |
Comments

Fetching successful submissions

for input 288, the output in
for input 288, the output in hex is 120
should we print AB or AB0?
never mind.. successful
never mind.. successful submission :D
why is it BD in the second
why is it BD in the second case?? shudnt it be BM?
what should be the output for
what should be the output for 288 as Manohar asked above ?
288 is AB@
288 is AB@
I feel like my program is
I feel like my program is correct, but im still getting a WA......
is there any spl case which I need to consider other than spaces..??????
what will be output for case
what will be output for case 257 having hex as 101
A0A or AA ???
can anyone who has got this
can anyone who has got this problem AC reply to the output of 257...& for every 0 do we have to print a @ or something else??
A@A
A@A
@SACHIN: my AC code gives
@SACHIN: my AC code gives output as <A A>... I din't bothered about other whitespaces either...
thnx sitesh....ive tried
thnx sitesh....ive tried everything but it gives WA everytime...But as far as i know my solution seems correct...I just dont know how to get it AC...:(
abe kya natak laga
abe kya natak laga rakha
suno yaar tumhe pahele batana chahiye tha ya email karna chahiye tha
this is not fair with us.
I spent my whole day for solving these problems now you are saying you haven't registred.
sending information of this much value throungh comment is not good.
please be fair in judging.
:(
:(
:(