CSES Qn -> Book Shop(weird behaviour when i submit code)

Правка en1, от KIMJONGOOF, 2024-08-29 21:31:07

Below are 2 submissions I made for the above mentioned CSES problem.

Question link -> https://cses.fi/problemset/task/1158

AC submission -> https://cses.fi/problemset/result/10353320/

Runtime error submission -> https://cses.fi/problemset/result/10353300/

The only difference between the submissions is that in the AC submission, I commented out (#define int long long). Otherwise everything else is exactly the same.

Could someone explain why this happens? Is it some fault in my code? or something wrong with CSES website?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский KIMJONGOOF 2024-08-29 21:31:07 597 Initial revision (published)