Runtime Error Contest 149 Div. 2 Problem — C

Revision en1, by Lord_ozb, 2017-12-28 18:42:55

I am getting a runtime error in this problem on test case 19 and I am not sure why is this happening. This is my first time posting on Codeforces so please pardon me for any mistakes.

Link to the problem : http://codeforces.me/contest/149/problem/C Link to my solution : http://codeforces.me/contest/149/submission/33733206

Thank you

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Lord_ozb 2017-12-28 18:42:55 396 Initial revision (published)