NahC0el's blog

By NahC0el, history, 2 weeks ago, In English

C++20: 304481417 TLE. Then I run it in mushup contest to see it's real running time.

C++23: 304515752

C++17: 304490984

  • Vote: I like it
  • -14
  • Vote: I do not like it

»
2 weeks ago, # |
  Vote: I like it +23 Vote: I do not like it

Just ask chatgpt, no one is going to analyze your spagetty shltcode.

  • »
    »
    2 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I've asked it to o3-mini but it told me c++20 should be faster. This is an unusal phenomenon that c++20 slower than c++17 and 23 for 4 times, so I ask for help with community.

»
2 weeks ago, # |
  Vote: I like it -9 Vote: I do not like it

I think it's because of the better optimizers in C++23