Runtime Error with Multiple Test Cases [SOLVED]

Revision en3, by Mr.Whitebird, 2024-06-30 13:27:10

Hello CodeForces, today I was solving the problem 1985H2 - Maximize the Largest Component (Hard Version) and implemented it with C++. It passes all the tests seperately but throws RE when I try to run multiple tests. I have been debugging for around half an hour but can't find the problem. I would appreciate any help. Here is my submission:268092158

PS: Local compiler also throws RE.

Tags help, runtime error, debug

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English Mr.Whitebird 2024-06-30 13:27:10 9
en2 English Mr.Whitebird 2024-06-30 12:10:17 6 Tiny change: 'ssion:268082108]\n\n\n\nPS: ' -> 'ssion:268092158]\n\n\nPS: '
en1 English Mr.Whitebird 2024-06-30 12:09:39 406 Initial revision (published)