stones.cpp:18:10: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
18 | int calc(auto& v) {
| ^~~~
stones.cpp: In function 'void solve()':
stones.cpp:110:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
110 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:110:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
110 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:111:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
111 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:111:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
111 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:130:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
130 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:130:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
130 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:151:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
151 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:151:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
151 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:152:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
152 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:152:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
152 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:166:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
166 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:166:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
166 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:64:9: warning: unused variable 'mn' [-Wunused-variable]
64 | int mn = m + n;
| ^~
stones.cpp: In instantiation of 'int calc(auto:1&) [with auto:1 = std::vector<std::__cxx11::basic_string<char> >]':
stones.cpp:83:23: required from here
stones.cpp:20:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for (int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
stones.cpp:22:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for (int j = 0; j < v[i].size(); j++) {
| ~~^~~~~~~~~~~~~
stones.cpp:25:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | if (c > v[i].size() / 2) cnt++;
| ~~^~~~~~~~~~~~~~~~~
stones.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int j = 0; j < v[0].size(); j++) {
| ~~^~~~~~~~~~~~~
stones.cpp:29:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
stones.cpp:34:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | if (c > v.size() / 2) cnt++;
| ~~^~~~~~~~~~~~~~