Not able to understand what is wrong here

Revision en3, by New_Beginning, 2020-11-19 22:24:10

I don't understand why my code is showing runtime error on test 2. I tried but could not find the problem . Please help. The code. Problem C of educational codeforces round 98. The problem.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English New_Beginning 2020-11-19 22:24:36 2
en3 English New_Beginning 2020-11-19 22:24:10 13
en2 English New_Beginning 2020-11-19 22:23:33 91
en1 English New_Beginning 2020-11-19 22:22:20 244 Initial revision (published)