bridge.cpp: In function 'int main()':
bridge.cpp:71:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for (int i = 0; i < v.size(); i++) ans += abs(v[i]-v[v.size()/2]);
| ~~^~~~~~~~~~
bridge.cpp:85:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | for (int i = 0; i < v.size()/2; i++) { sl.insert(v[i]); sls += v[i]; }
| ~~^~~~~~~~~~~~
bridge.cpp:86:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | for (int i = v.size()/2; i < v.size(); i++) { sh.insert(v[i]); shs += v[i]; }
| ~~^~~~~~~~~~
bridge.cpp:89:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Data>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
89 | for (int i = 0; i < info.size()-1; i++) {
| ~~^~~~~~~~~~~~~~~
bridge.cpp:96:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
96 | for (auto pp : fl) cout << pp << " "; cout << ": " << fls << endl;
| ^~~
bridge.cpp:96:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
96 | for (auto pp : fl) cout << pp << " "; cout << ": " << fls << endl;
| ^~~~
bridge.cpp:97:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
97 | for (auto pp : fh) cout << pp << " "; cout << ": " << fhs << endl;
| ^~~
bridge.cpp:97:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
97 | for (auto pp : fh) cout << pp << " "; cout << ": " << fhs << endl;
| ^~~~
bridge.cpp:98:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
98 | for (auto pp : sl) cout << pp << " "; cout << ": " << sls << endl;
| ^~~
bridge.cpp:98:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
98 | for (auto pp : sl) cout << pp << " "; cout << ": " << sls << endl;
| ^~~~
bridge.cpp:99:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
99 | for (auto pp : sh) cout << pp << " "; cout << ": " << shs << endl;
| ^~~
bridge.cpp:99:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
99 | for (auto pp : sh) cout << pp << " "; cout << ": " << shs << endl;
| ^~~~