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!
Nevermind. I got confused.
Ofcourse it's safe that's why it is added. Don't worry just use it carefree.
Oh, that sounds great! If you look at this two submissions, the difference is quite huge. If the constraint is 1 second. One will pass and one will fail!
81033748 81033672
I have seen
C++ 17 (64)
to give TLE whereC++ 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