0x4f's blog

By 0x4f, history, 7 weeks ago, In English

Today I managed to solve 2020E - Expected Power and got passed barely within the time limit using C++17. Here is the submission 284264092, and as you see that it runs for 3900+ ms, while the TL is 4000 ms.

However when I selected C++20 and submitted, I found that the execution time was < 1000 ms. 284263872

So can anyone tell me what causes the difference?

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

»
7 weeks ago, # |
  Vote: I like it +4 Vote: I do not like it

I guess, the 64-bit helps a lot.