Why is my code working on my machine but not on Codeforces?

Правка en3, от Ryuuji_Nakamura, 2025-02-25 21:57:14

My submission (https://codeforces.net/contest/1948/submission/307669384) is giving the correct output (at least for the first 10 elements on test 2) on my laptop, but not on Codeforces. I don't understand why.

I have attached the image of my output too so you all can see!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский Ryuuji_Nakamura 2025-02-25 21:57:14 62
en2 Английский Ryuuji_Nakamura 2025-02-25 21:54:32 29 Tiny change: 'll can see' -> 'll can see![ ](https://ibb.co/39XKxhhK)'
en1 Английский Ryuuji_Nakamura 2025-02-25 21:51:36 333 Initial revision (published)