[HELP NEEDED] How to hack unordered maps used in Graphs

Revision en1, by sojabhai, 2024-07-30 22:10:47

Hey Codeforces

I am well aware that we shouldn't use unordered maps in our solutions because they lead to tle in certain cases

I came across some solutions using unordered map for the 4th Question in the recent Edu Round. I tried generating a testcase in which these submissions tle but failed to do so

Can anyone help me out in this

Submission 1 : 273573097 Submission 2 : 273588275 Submission 3 (Its in Java but shouldn't it use TreeMap instead of Map ? ) : 273571369

Thanks a lot :)

Tags hacking, help me, need help, tle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English sojabhai 2024-07-30 22:10:47 598 Initial revision (published)