Hello CodeForces, today I was solving the problem [problem:1985H2] 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:[submission:26808921058]↵
↵
↵
↵
PS: Local compiler also throws RE.
↵
↵