I know some people were looking for a more understandable explanation to this problem (I know I was). I don't know if it's the best solution, but my solution works and the code is readable for anyone looking for help.
http://voxstudios.blogspot.com/2015/02/google-code-jam-practice-round-1b-2008.html -- 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/f44c3976-4c9f-4c95-8b61-cac0192cab2a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
