10473 - Simple Base Conversion

All about problems in Volume 104. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

kier.guevara
New poster
Posts: 30
Joined: Thu Jul 19, 2012 11:24 pm

Re: 10473 - Simple Base Conversion Question

Post by kier.guevara »

Code: Select all

AC
I still got WA..I tried the test case above but still WA..What's wrong with my code now?

GOT AC! Just a silly mistake after i fix my code with the I/O above. I have no case for the hex 'e'. Gotta be careful next time :D

Thanks for the replies and sample I/O!
uDebug
A great helper
Posts: 475
Joined: Tue Jul 24, 2012 4:23 pm

Re: 10473 - Simple Base Conversion Question

Post by uDebug »

Here's some input / output I found useful during testing / debugging.

Input:

Code: Select all

0x7FFFFFFF
2147483647
43438943
0xFACE
0xBEEF
-1234
AC Output:

Code: Select all

2147483647
0x7FFFFFFF
0x296D35F
64206
48879
Check input and AC output for over 7,500 problems on uDebug!

Find us on Facebook. Follow us on Twitter.
Post Reply

Return to “Volume 104 (10400-10499)”