I believe the run compiler isn't the same as the submission compiler and the debugger compiler

Describe your issue

If I declare a string_view with iterators (avalailable since C++ 20?) the run complier, compiles without errors. But if i debug it doesn’t compile and for some reason if i submit it compiles but i get a solution error.

Submissions IDs

submitting string _view with iterators: 1156548094
submitting string _view without iterators: 1156545792

Screenshots

Additional info

I’m not an advanced programmer and i’m new to codechef, i could be completly wrong or be saying known stuff or the error is only on this problem. Sorry if that’s the case. It would be nice to know which version of C++ we are using.

Run and submit both have C++20 support. The compiler version for each language is listed here - List of Compilers | CodeChef

We will check for the gcc version in debug and get it upgraded.