Codeforces #820 Div 3 F Doubt

Revision en1, by DeadlyVelocity, 2022-09-13 09:53:43

Can anyone tell me why I got TLE in this code Submission 1 and then why did it get accepted in this code Submission 2

Tags map, vector, time limit exceeded, #time complexity

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English DeadlyVelocity 2022-09-13 09:56:27 8 Tiny change: 'ssion/171937869)\n\n' -> 'ssion/171946732)\n\n'
en1 English DeadlyVelocity 2022-09-13 09:53:43 271 Initial revision (published)