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.net/contest/703/submission/40296193
Problem: http://codeforces.net/contest/703/problem/C
-12tqian