Hey Ronaldo,

It depends on the algorithm that you've written. If you didn't use an
efficient algorithm, you might get stack overflow or waiting for the
answer for hours.
For example, if you used brute-force algorithm to solve the small
input set, there is a big chance that it won't work on the large input
set. (you'll wait forever to get the answer).If you used recursion,
you'll get stack overflow
On the other hand, the large input file contains extreme cases that
you cannot solve using direct methods (such as multiplications, square
root) because the primitive types used have limits. if you try solving
the "numbers" problem in code jam 2008, you will get negative answers.
Here, you have to use some mathematical manipulations to get the
correct answer.

I hope I managed to help

Sami

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to