703C Weird Error

Revision en1, by 12tqian, 2018-07-13 23:47:52

Hello,

On 703C, I keep getting a weird error on test case 3. I know why the code outputs the wrong answer, but I don't know why I would get an error. When I run the code on Code Blocks, after copying the first line of input, the console window just closes automatically. Can somebody point out where my code goes makes an error (I'm not talking about solving the problem, I just want to know what the syntax error is)? Thanks!

Code: http://codeforces.com/contest/703/submission/40296193

Problem: http://codeforces.com/contest/703/problem/C

-12tqian

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English 12tqian 2018-07-13 23:47:52 576 Initial revision (published)