Main.cpp:1: warning: ignoring '#pragma GCC optimization' [-Wunknown-pragmas]
1 | #pragma GCC optimization O2
|
Main.cpp:2: warning: ignoring '#pragma GCC optimization' [-Wunknown-pragmas]
2 | #pragma GCC optimization "unroll-loop"
|
Main.cpp:3: warning: ignoring '#pragma target ' [-Wunknown-pragmas]
3 | #pragma target ("avx2")
|
Main.cpp: In function 'bool chk(long long int)':
Main.cpp:23:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
23 | if (prvL[i] > m) break; L = i;
| ^~
Main.cpp:23:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
23 | if (prvL[i] > m) break; L = i;
| ^
Main.cpp:28:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
28 | if (prvR[i] > m) break; R = i;
| ^~
Main.cpp:28:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
28 | if (prvR[i] > m) break; R = i;
| ^
Main.cpp: In function 'int main()':
Main.cpp:37:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | freopen(task".INP","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~