Hi there. About problem A for round 1A:
Input 3 2 3 2 3 7 9 10 Output Case #1: 3 Case #2: 143 Case #3: 91 I can't understand how 91 can be a happy number in base 9. Isn't 91 = 81 + 9 + 1 = 9**2 + 9**1 +9**0 = 111 in base 9. If we sum those digits it yields 3 ... so it's not a happy number, no ? Can someone explains me why I'm wrong ... I must be because no-one complained about this. Cheers, - Benjamin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to google-code@googlegroups.com To unsubscribe from this group, send email to google-code+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-code?hl=en -~----------~----~----~----~------~----~------~--~---