Code running locally but not on remote Server

Revision en2, by Fume, 2024-05-18 20:03:43

Can anyone help me to figure out that why my solution for Atcoder' Problem C is running locally but giving wrong answer on Atcoder remote judge? (I have also not used any global variables).

Link to Problem: "https://atcoder.jp/contests/abc354/tasks/abc354_c"

Link to Solution: "https://cl1p.net/code_c"

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Fume 2024-05-18 20:03:43 72
en1 English Fume 2024-05-18 20:02:42 282 Initial revision (published)