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(0, j, vec.size())
| ~~~~~~~~~~~~~
supertrees.cpp:55:3: note: in expansion of macro 'FOR'
55 | FOR(0, 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)
......
63 | FOR(1, j, vec.size())
| ~~~~~~~~~~~~~
supertrees.cpp:63:3: note: in expansion of macro 'FOR'
63 | 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)
......
75 | FOR(0, i, roots.size())
| ~~~~~~~~~~~~~~~
supertrees.cpp:75:2: note: in expansion of macro 'FOR'
75 | 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)
......
79 | FOR(0, j, roots.size())
| ~~~~~~~~~~~~~~~
supertrees.cpp:79:3: note: in expansion of macro 'FOR'
79 | 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)
......
90 | FOR(0, j, vec.size())
| ~~~~~~~~~~~~~
supertrees.cpp:90:3: note: in expansion of macro 'FOR'
90 | FOR(0, 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)
......
92 | FOR(j + 1, k, vec.size())
| ~~~~~~~~~~~~~
supertrees.cpp:92:4: note: in expansion of macro 'FOR'
92 | FOR(j + 1, k, 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)
......
97 | FOR(1, j, vec.size())
| ~~~~~~~~~~~~~
supertrees.cpp:97:3: note: in expansion of macro 'FOR'
97 | FOR(1, j, vec.size())
| ^~~