boat.cpp: In function 'int main()':
boat.cpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | #define F0R(i, n) for (int i = 0; i < n; i++)
......
45 | F0R(i, values.size()-1) {
| ~~~~~~~~~~~~~~~~~~
boat.cpp:45:5: note: in expansion of macro 'F0R'
45 | F0R(i, values.size()-1) {
| ^~~
boat.cpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | #define F0R(i, n) for (int i = 0; i < n; i++)
......
61 | F0R(j, values.size()-1) {
| ~~~~~~~~~~~~~~~~~~
boat.cpp:61:9: note: in expansion of macro 'F0R'
61 | F0R(j, values.size()-1) {
| ^~~
boat.cpp:14:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | #define FOR(i, a, b) for (int i = a; i < b; i++)
......
77 | FOR(j, 1, values.size()-1) {
| ~~~~~~~~~~~~~~~~~~~~~
boat.cpp:77:5: note: in expansion of macro 'FOR'
77 | FOR(j, 1, values.size()-1) {
| ^~~