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.
Remove the pragmas. You can read about some of the updates to C++20 here.
target dont work, optimize work