Help required for explanation of TLE in this case

Revision en1, by 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?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English teejorob 2024-11-27 03:12:00 376 Initial revision (published)