Unusual Runtime Error in Codeforces Round 944(Div 4) in Problem G

Revision en1, by Fume, 2024-05-12 06:03:55

Can anyone help me indentifying why my code is giving runtime error for this following code in Problem G: (https://mirror.codeforces.com/contest/1971/submission/260600724)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Fume 2024-05-12 06:35:32 70
en1 English Fume 2024-05-12 06:03:55 230 Initial revision (published)