hash function of dictionary has different complexity for int and string
(huge difference refer to the following submission)
160762368 — accepted (str)
160761953 — tle (int)
both solution are same the only difference is the key in first is string and in 2nd the key is int which is causing tle .....
2023 ICPC Asia West Continent Final Contest (live commentary)