Блог пользователя MoRanAirConditioner

Автор MoRanAirConditioner, история, 3 года назад, По-английски

This is the second time I've had a problem in a codeforces round. My program failed system test because the time limit was exceeded. I handed in the TLE code after the game and passed. I guess this is because system tests have to evaluate a lot of programs in a short period of time.

First example:

https://mirror.codeforces.com/contest/1500/submission/109859256 https://mirror.codeforces.com/contest/1500/submission/109932270

Second example (for last round) :

https://mirror.codeforces.com/contest/1609/submission/137256555 https://mirror.codeforces.com/contest/1609/submission/137341465

And this kind of question is usually the kind of so-called card question, card is very tight, there is no problem. Last time for question F, someone applied for a rejudge and was successful, so I would like to apply for a rejudge.

MikeMirzayanov

In addition, I find C++20 is faster than C++17, and I will use C++20 in future competitions.

I don't think people should have stuck with the time constant and let this happen. I also have doubts. When we submit the code and find that we can pass pretest but the time card is very tight, what should we do?

Полный текст и комментарии »

  • Проголосовать: нравится
  • -39
  • Проголосовать: не нравится