Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

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

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?

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

»
4 часа назад, # |
  Проголосовать: нравится +4 Проголосовать: не нравится

I guess, the 64-bit helps a lot.