My C++ code is working fine giving the correct output in my local Code Editor but it shows Runtime Error (exit code: 2147483647) upon submission.

Правка en3, от PR3S1D3NT, 2021-12-21 23:06:23

Hello, I am new and just starting with competitive programming so I am not quite sure as to why this problem has occurred

My Question Problem was-(https://codeforces.me/contest/1612/problem/B)

And My Solution to it was (http://codeforces.me/contest/1612/submission/140203265)

Is there something I am overlooking or is something wrong with this code?

Теги constructive algorithms, *900, greedy

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский PR3S1D3NT 2021-12-21 23:06:23 0 (published)
en2 Английский PR3S1D3NT 2021-12-21 23:05:53 27
en1 Английский PR3S1D3NT 2021-12-21 23:05:12 521 Initial revision (saved to drafts)