stones.cpp: In function 'int calc(std::vector<std::vector<char> >&)':
stones.cpp:20:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<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::vector<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::vector<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::vector<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::vector<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::vector<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | if (c > v.size() / 2) cnt++;
| ~~^~~~~~~~~~~~~~
stones.cpp: In function 'void solve()':
stones.cpp:122:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
122 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:122:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
122 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:123:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
123 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:123:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
123 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:142:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
142 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:142:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
142 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:163:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
163 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:163:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
163 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:164:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
164 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:164:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
164 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~~
stones.cpp:178:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
178 | for (int i = 0; i < m; i++) cout << '-'; cout << endl;
| ^~~
stones.cpp:178:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
178 | 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;
| ^~