Why Runtime Error in this problem ?

Revision en1, by ashish_nar, 2019-03-18 08:49:09

This program is running fine in eclipse but giving me runtime error on test case 4 in codeforces but I am not getting why?

Problem Link :

https://codeforces.com/problemset/problem/1137/B

Program Link :

https://ideone.com/fHQiiH

Please help me to find why codeforces is giving runtime error on test case 4.

Tags runtime error

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ashish_nar 2019-03-18 08:49:09 358 Initial revision (published)