-M1's blog

By -M1, history, 7 days ago, In English

In the recent Div4 contest problem F: My submission1 using map + .find fails on TC 25 (TLE). My submission2 using set + .find fails on TC 33 (TLE). But when I used .count with set it barely passes in C++20 (submission) but gave TLE in C++17 as well as C++23. Why is it so?

Full text and comments »

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