Please read the new rule regarding the restriction on the use of AI tools. ×

NotHandsomeBoizz's blog

By NotHandsomeBoizz, history, 12 months ago, In English

Hi everyone!

(Also I apologized for my bad english I'm just in B2 level :((( )

  • Vote: I like it
  • +1
  • Vote: I do not like it

»
12 months ago, # |
  Vote: I like it +5 Vote: I do not like it

Auto comment: topic has been updated by NotHandsomeBoizz (previous revision, new revision, compare).

»
12 months ago, # |
Rev. 3   Vote: I like it +10 Vote: I do not like it

I think the reason why it got TLE in test 4 because it got integer overflown at some points.226470136, this is the submission I copied from you but add "#define int long long" but it got TLE on test 50 because you used unordered_map(for the reason, read this blog:https://codeforces.me/blog/entry/62393 ), here is the accepted:226470250