Same code but one got accepted, one not

Правка en1, от shantol, 2021-03-16 08:46:58

These two codes are exactly same,,but I don't know why one code got accepted but another is getting TLE

The code got AC: https://mirror.codeforces.com/contest/1501/submission/109903610

The code, getting TLE: https://mirror.codeforces.com/contest/1501/submission/110064601

someone pls explain why?

Теги ac, tle, same, why

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский shantol 2021-03-16 08:46:58 330 Initial revision (published)