Java problem : Submissions getting TLE even after using optimal solution and fast io

Правка en1, от DPR, 2021-06-13 14:54:37

PROBLEM : 1538C - Number of Pairs

119286813 -> my submission

119286794 -> some guy's java submission which got accepted

I fail to understand why my submission is failing when is has the exact same logic as the submission which got accepted.

I tried to make it work, but nothing seems to work.

I guess i'll have to say fuck off to java and use C++, because this is just demoralizing.

Теги #help, #help me, #i-need-an-answer, wtf?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский DPR 2021-06-13 14:54:37 510 Initial revision (published)