soccer.cpp:18:11: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
18 | void maxl(auto &a, auto b) {a = max(a, b);}
| ^~~~
soccer.cpp:18:20: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
18 | void maxl(auto &a, auto b) {a = max(a, b);}
| ^~~~
soccer.cpp:19:11: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
19 | void minl(auto &a, auto b) {a = min(a, b);}
| ^~~~
soccer.cpp:19:20: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
19 | void minl(auto &a, auto b) {a = min(a, b);}
| ^~~~
soccer.cpp: In function 'int biggest_stadium(int, std::vector<std::vector<int> >)':
soccer.cpp:31:39: error: 'have' was not declared in this scope
31 | r[i] = j; ++ ans; have = true;
| ^~~~
soccer.cpp:32:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
32 | if (st == -1) st = i; if (i > ed) return 0;
| ^~
soccer.cpp:32:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
32 | if (st == -1) st = i; if (i > ed) return 0;
| ^~