adityagamer's blog

By adityagamer, history, 7 months ago, In English

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

Same code in C++ 17 : https://codeforces.me/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

»
7 months 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.