What answer do you get for test case 1 480000 I think your code reverses the digits of 480000 to get 84, then reverses back again, swapping digit 4 for 1, and other digits to 0, resulting in value 10.
But "479000 10" is not a valid answer. -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/2d8cf4bc-4422-4647-839c-4f67f691d912%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
