So, what is the allowed range that an int can have? How big a number can you stuff into an int?
Part of the problem's purpose is to figure out how to handle such a large "number". Think about what you have to do with it. Much of the work is to process the individual digits in the number. I could be wrong, but I don't believe you have to do anything with the number as a whole. While you are attempting to process it as an actual number, perhaps you should consider processing it as a string? Also, what does your code do if the first digit is a zero? If you were processing an actual number, any leading zeros would simply be ignored.
If this answers your question, please click the check mark to accept this and remove the question from the unanswered pool. Let's keep up on forum maintenance. ;-)