Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

WRKWRK's blog

By WRKWRK, history, 14 months ago, In English

In my lasy content,224960717 got TLE in c++14,and 224966171 got AC in c++20.The codes are same.Why is the difference?

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

»
14 months ago, # |
  Vote: I like it +13 Vote: I do not like it

Because C++20 is 64-bit, so it work much faster with long long, than standart 32-bit compiler