stones.cpp: In function 'int calc(std::vector<std::vector<char> >&)':
stones.cpp:8:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | for (int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
stones.cpp:10:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for (int j = 0; j < v[i].size(); j++) {
| ~~^~~~~~~~~~~~~
stones.cpp:13:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if (c > v[i].size() / 2) cnt++;
| ~~^~~~~~~~~~~~~~~~~
stones.cpp:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for (int j = 0; j < v[0].size(); j++) {
| ~~^~~~~~~~~~~~~
stones.cpp:17:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for (int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
stones.cpp:22:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | if (c > v.size() / 2) cnt++;
| ~~^~~~~~~~~~~~~~
stones.cpp: In function 'int malSol1(int, int)':
stones.cpp:52:10: warning: variable 'f' set but not used [-Wunused-but-set-variable]
52 | bool f = 0;
| ^
stones.cpp: In function 'void solve()':
stones.cpp:120:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
120 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~
stones.cpp:120:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
120 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~~
stones.cpp:121:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
121 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~
stones.cpp:121:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
121 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~~
stones.cpp:137:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
137 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~
stones.cpp:137:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
137 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~~
stones.cpp:138:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
138 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~
stones.cpp:138:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
138 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~~
stones.cpp:157:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
157 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~
stones.cpp:157:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
157 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~~
stones.cpp:158:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
158 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~
stones.cpp:158:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
158 | for(int i = 0; i < m; i++) cout << "-"; cout << "\n";
| ^~~~
stones.cpp:171:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
171 | for(int i = 0; i < m; i++) cout << "+"; cout << "\n";
| ^~~
stones.cpp:171:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
171 | for(int i = 0; i < m; i++) cout << "+"; cout << "\n";
| ^~~~
stones.cpp:203:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
203 | for (int i = 0; i < vec.size(); i++) {
| ~~^~~~~~~~~~~~
stones.cpp:204:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
204 | for (int j = 0; j < vec[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~