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

Автор the_midnight_sun, история, 5 лет назад, По-английски

Hi everyone! Hope you guys a nice weekend!

Recently, I have tried to submit my solutions in both GNU C++17 and GNU C++17(64). The result is predictable, GNU C++17(64) is faster compared to GNU C++17. My question is: Is it safe to use C++17(64) in the real contest? I know that C++17(64) was just added a few months ago. So I don't know whether it may lead to some undefined behavior bugs or something like that...

Thanks for reading!

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

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

Nevermind. I got confused.

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

Ofcourse it's safe that's why it is added. Don't worry just use it carefree.

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

I have seen C++ 17 (64) to give TLE where C++ 17 gives AC in a recent contest. I haven't looked at why it happens, but something to look out for I suppose.

Context: Comment from recent contest