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

Правка en1, от 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 :)

Теги hacking, help me, need help, tle

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sojabhai 2024-07-30 22:10:47 598 Initial revision (published)