Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

My C++ code is working fine and passing the given test-cases on local system as well as on online compiler but throws a runtime error when submitted on codeforces

Revision en2, by ssg_13, 2019-12-16 13:02:30

I'm trying to solve the problem (https://codeforces.com/contest/1271/problem/D) [Someone please help me find the mistake] [submission:66993322]problem:1271D (ps: The online compliler I used was ideone, and locally used g++)

Tags runtime error, c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ssg_13 2019-12-16 13:02:30 1543
en1 English ssg_13 2019-12-16 13:01:29 1978 Initial revision (published)