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

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

In the last round #850, when solving problem D of div.1 1785D - Деревянная ложка, 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
  • Проголосовать: не нравится

»
4 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +10 Проголосовать: не нравится

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