wsc2008qwq's blog

By wsc2008qwq, history, 23 months ago, In English

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

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

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

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

  • »
    »
    23 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    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?