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:131:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
131 | for(int i = 0; i + 1 < S.size(); ++i){
| ~~~~~~^~~~~~~~~~
longesttrip.cpp:147:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
147 | for(int i = 1; i < S.size(); ++i){
| ~~^~~~~~~~~~
longesttrip.cpp:159:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
159 | for(int i = 0; i + 1 < S.size(); ++i){
| ~~~~~~^~~~~~~~~~
longesttrip.cpp:173:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
173 | for(int i = 0; i < S.size(); ++i){
| ~~^~~~~~~~~~
longesttrip.cpp:174:24: 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 j = 0; j < S.size(); ++j){
| ~~^~~~~~~~~~
longesttrip.cpp:191:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
191 | for(int i = 0; i < S.size(); ++i){
| ~~^~~~~~~~~~
longesttrip.cpp:197:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
197 | if(i + 1 < S.size()){
| ~~~~~~^~~~~~~~~~
longesttrip.cpp:204:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
204 | for(int j = 1; j < S[i].size(); ++j){
| ~~^~~~~~~~~~~~~
longesttrip.cpp:205:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
205 | for(int l = 0; l < S[i + 1].size(); ++l){
| ~~^~~~~~~~~~~~~~~~~