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)
......
74 | FOR(0, i, roots.size())
| ~~~~~~~~~~~~~~~
supertrees.cpp:74:2: note: in expansion of macro 'FOR'
74 | 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)
......
78 | FOR(0, j, roots.size())
| ~~~~~~~~~~~~~~~
supertrees.cpp:78:3: note: in expansion of macro 'FOR'
78 | 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)
......
89 | FOR(0, j, vec.size())
| ~~~~~~~~~~~~~
supertrees.cpp:89:3: note: in expansion of macro 'FOR'
89 | 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)
......
91 | FOR(j + 1, k, vec.size())
| ~~~~~~~~~~~~~
supertrees.cpp:91:4: note: in expansion of macro 'FOR'
91 | 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)
......
96 | FOR(1, j, vec.size())
| ~~~~~~~~~~~~~
supertrees.cpp:96:3: note: in expansion of macro 'FOR'
96 | FOR(1, j, vec.size())
| ^~~