Please read the new rule regarding the restriction on the use of AI tools. ×

MKasirloo's blog

By MKasirloo, history, 5 hours ago, In English

The same code on different versions of C++, but only C++17 gets AC. Old but Gold!

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

»
4 hours ago, # |
  Vote: I like it +15 Vote: I do not like it

fun fact: CNOI is still using C++14 as a standard.

»
89 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

C++11 also old But Gold!

»
21 minute(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

C++17 32bit is faster for int operations, and C++20 64bit is faster for long long operations.

Try long long and resubmit using 64bit ++20;