Runtime Error

Revision en2, by _aman_, 2016-06-27 22:19:38

Hi,

I am trying to solve this problem : http://codeforces.me/contest/664/problem/B

Here is my code : http://ideone.com/fWgQEn

I am getting Runtime Error on Test Case 5, even though my answer is correct and I am printing it properly.

Can anyone tell me what could be the reason of this?

TIA!

Tags #c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English _aman_ 2016-06-27 22:19:38 32
en1 English _aman_ 2016-06-27 22:17:58 290 Initial revision (published)