longesttrip.cpp: In function 'std::vector<int> longest_trip(int, int)':
longesttrip.cpp:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
103 | for(int i = 0; i < S.size(); ++i){
| ~~^~~~~~~~~~
longesttrip.cpp:117:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
117 | for(int i = 1; i < S.size(); ++i){
| ~~^~~~~~~~~~
longesttrip.cpp:132:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
132 | for(int i = 0; i + 1 < S.size(); ++i){
| ~~~~~~^~~~~~~~~~
longesttrip.cpp:148:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
148 | for(int i = 1; i < S.size(); ++i){
| ~~^~~~~~~~~~
longesttrip.cpp:160:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
160 | for(int i = 0; i + 1 < S.size(); ++i){
| ~~~~~~^~~~~~~~~~
longesttrip.cpp:174:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
174 | for(int i = 0; i < S.size(); ++i){
| ~~^~~~~~~~~~
longesttrip.cpp:175:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
175 | for(int j = 0; j < S.size(); ++j){
| ~~^~~~~~~~~~
longesttrip.cpp:192:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
192 | for(int i = 0; i < S.size(); ++i){
| ~~^~~~~~~~~~
longesttrip.cpp:198:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
198 | if(i + 1 < S.size()){
| ~~~~~~^~~~~~~~~~
longesttrip.cpp:205:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
205 | for(int j = 1; j < S[i].size(); ++j){
| ~~^~~~~~~~~~~~~
longesttrip.cpp:206:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
206 | for(int l = 0; l < S[i + 1].size(); ++l){
| ~~^~~~~~~~~~~~~~~~~