I was also getting this error. When I added a new line to the end of the input data,it worked.You could try that.
-- 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/0a1e2107-98d3-4ae6-9e52-0eb04ec3588e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
