Complexity of Python Dictionaries

Revision en1, by ahilaan, 2024-06-04 11:37:26

In the recent div3 contest, many C++ solutions that used unordered maps were hacked which is reasonable due to hash collisions. However, python dictionaries are ordered maps as far as I know, still my solution got hacked. I can't think of any other issue which might have caused a TLE. Here's my submission: https://codeforces.me/contest/1980/submission/263979357

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ahilaan 2024-06-04 11:37:26 398 Initial revision (published)