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

Правка en2, от Fume, 2024-05-12 06:35:32

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

Edit: Got the issue and got AC but could not understand the reason

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Fume 2024-05-12 06:35:32 70
en1 Английский Fume 2024-05-12 06:03:55 230 Initial revision (published)