Help required for explanation of TLE in this case

Правка en1, от teejorob, 2024-11-27 03:12:00

Question : here

Submission 1 (TLE) : 293404599, used vector of size 2*1e5 for frequency storage for future lookup

Submission 2 (passed) :293423236, used map for same purpose

Can someone explain why I encountered TLE in the first case?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский teejorob 2024-11-27 03:12:00 376 Initial revision (published)