Hi, I tried to test your code, but GCJ practice seems to be broken right now: "A problem occurred. Please try again." and in the console I can see: "Failed to load https://codejam.googleapis.com/dashboard/0000000000007883/submit: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://codejam.withgoogle.com' is therefore not allowed access. The response had HTTP status code 502."
By the way, Google guys, this is probably reason no. 73 to publish some test data for practice, and so far you have given absolutely *ZERO* valid reasons not to do it. Anyway, Ricola, the first thing I suspect is integer overflow. Try changing things to long, at least where multiplications are involved. -- 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/2766a8ab-0156-432c-9b04-4238c670f273%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
