This code is giving runtime error, although I took the utmost care to check array limits and store final answer in Biginteger.
-- 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 google-code+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/7e91c7dd-b79d-4cd6-a619-cd9be593fcd1%40googlegroups.com.