longesttrip.cpp: In function 'std::vector<int> longest_trip(int, int)':
longesttrip.cpp:4:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
longesttrip.cpp:53:3: note: in expansion of macro 'rep'
53 | rep(i, A.size()) rep(j, B.size()) {
| ^~~
longesttrip.cpp:4:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
longesttrip.cpp:53:20: note: in expansion of macro 'rep'
53 | rep(i, A.size()) rep(j, B.size()) {
| ^~~
longesttrip.cpp:4:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
longesttrip.cpp:60:7: note: in expansion of macro 'rep'
60 | rep(l, A.size()) ans.pb(A[(i+l+1)%A.size()]);
| ^~~
longesttrip.cpp:4:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
longesttrip.cpp:61:7: note: in expansion of macro 'rep'
61 | rep(l, B.size()) ans.pb(B[(j+l)%B.size()]);
| ^~~