supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:12:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
55 | FOR(1, j, vec.size())
| ~~~~~~~~~~~~~
supertrees.cpp:55:3: note: in expansion of macro 'FOR'
55 | FOR(1, j, vec.size())
| ^~~
supertrees.cpp:12:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
66 | FOR(0, i, roots.size())
| ~~~~~~~~~~~~~~~
supertrees.cpp:66:2: note: in expansion of macro 'FOR'
66 | FOR(0, i, roots.size())
| ^~~
supertrees.cpp:12:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
70 | FOR(0, j, roots.size())
| ~~~~~~~~~~~~~~~
supertrees.cpp:70:3: note: in expansion of macro 'FOR'
70 | FOR(0, j, roots.size())
| ^~~
supertrees.cpp:12:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
79 | FOR(1, j, vec.size())
| ~~~~~~~~~~~~~
supertrees.cpp:79:3: note: in expansion of macro 'FOR'
79 | FOR(1, j, vec.size())
| ^~~