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

Автор wsc2008qwq, история, 14 месяцев назад, По-английски

In the last round #850, when solving problem D of div.1 1785D - Wooden Spoon, I submitted the code with language C++17, using fast fourier transformation (although it's not the intended solution, but its time complexity is correct), but it gave TLE on pretest 20 (which is $$$n=20$$$).

After the contest, I resubmitted the same code with language C++20, and it shown Accepted with the execution time of only 1434ms! So I wonder why there's such a big difference between these two languages, and I want to know whether I can request a rejudge in such kind of situations.

Here's the submission link: C++17 192349326 C++20 192414277

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

»
14 месяцев назад, # |
Rev. 2   Проголосовать: нравится +10 Проголосовать: не нравится

You have run C++17 32bit and C++20 64bit. Obviously, 64bit runs faster than 32bit.

  • »
    »
    14 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    What you said seems to be correct, I resubmitted with C++17(64) and got Accepted, thanks a lot! By the way, do you know whether I can request a rejudge for this submission?