gw.cpp: In function 'int gw(int, int*)':
gw.cpp:15:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
15 | for(int i = 0; i<m; ++i) to_remove[i].clear(); s.clear();
| ^~~
gw.cpp:15:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
15 | for(int i = 0; i<m; ++i) to_remove[i].clear(); s.clear();
| ^
gw.cpp: In function 'int main()':
gw.cpp:38:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | int n; scanf("%d", &n);
| ~~~~~^~~~~~~~~~
gw.cpp:40:32: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
40 | for(int i = 0; i<n; ++i) scanf("%d", H+i);
| ~~~~~^~~~~~~~~~~