Page 4 of 4

Re: 10473 - Simple Base Conversion Question

Posted: Thu Feb 21, 2013 2:49 pm
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!

Re: 10473 - Simple Base Conversion Question

Posted: Fri Mar 21, 2014 9:13 am
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