longesttrip.cpp: In function 'std::vector<int> longest_trip(int, int)':
longesttrip.cpp:57:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for (int i = 0; i < k[0].size(); i++) {
| ~~^~~~~~~~~~~~~
longesttrip.cpp:58:33: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'll' {aka 'long long int'} [-Wsign-compare]
58 | if (adj[k[0][i]].size() > mxDeg) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
longesttrip.cpp:66:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | for (int i = bridge+1; i < k[0].size(); i++) {
| ~~^~~~~~~~~~~~~
longesttrip.cpp:81:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for (int i = 0; i < k[1].size(); i++) {
| ~~^~~~~~~~~~~~~
longesttrip.cpp:87:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for (int i = used; i < k[1].size(); i++) {
| ~~^~~~~~~~~~~~~
longesttrip.cpp:94:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for (int i = 1; i < res.size(); i++) {
| ~~^~~~~~~~~~~~