you might be wondering why is code not working for large input but works well for small input.
Actually the values during calculation goes out of range of integer variables, So you can solve the issue if you use long variable to store the vectors, there product and the final sum.. You might sometimes need BigIntegers in the coding competitions =, So be ready for that too.. -- 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 post to this group, send email to google-code@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/4a8f5f09-b0c3-4024-a0a1-40b8afe8b6f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.