Why does my code fail?

Revision en1, by Franklyn_W, 2015-11-02 05:33:19

Hi all,

Today I was unable to solve this problem: http://usaco.org/index.php?page=viewproblem2&cpid=213. My code is as follows, exactly following the official solution, yet, WA 7, 8, 9.

http://ideone.com/cV0eKj is my code. Thanks!

Tags debug

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Franklyn_W 2015-11-02 05:33:19 264 Initial revision (published)