adityagamer's blog

By adityagamer, history, 3 weeks ago, In English

I am getting compilation error with C++20 : https://codeforces.com/contest/1946/submission/255765529

Same code in C++ 17 : https://codeforces.com/contest/1946/submission/255766072

The error logs seems to be warning. And It was not a compilation error before C++ 20 was removed.

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

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

Remove the pragmas. You can read about some of the updates to C++20 here.