nubb's blog

By nubb, history, 3 hours ago, In English

I was doing Problem 1033D and I was stuck. Later, one of my friends got Accepted first try. Seems like the only difference is that I was using C++17 and my friend was using C++20. Can someone explain why C++17 didn't work but C++20 did?

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

»
3 hours ago, # |
Rev. 2   Vote: I like it -31 Vote: I do not like it

u'r so dumb

»
3 hours ago, # |
  Vote: I like it -30 Vote: I do not like it

u'r so dumb

»
3 hours ago, # |
Rev. 2   Vote: I like it -23 Vote: I do not like it

probably because of cbrt implemented in c++17.

»
3 hours ago, # |
  Vote: I like it -27 Vote: I do not like it

ur so dumbbbbbbbbbbb

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

because skibidi is a sigma and you have a level 10 gyat

»
3 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

In some problems like 1137C - Museums Tour, C++17 can AC more easy but C++20 or 23 maybe a bit harder.

They're fun features :)

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

Different compiler may feature different libraries, and therefore some of the functions you applied to your code file may not work at best status if run in old (or new) compilers.