supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:40:5: note: in expansion of macro 'forto'
40 | forto(n, i) parent.push_back(i), cycle.push_back(0);
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:41:5: note: in expansion of macro 'forto'
41 | forto(n, i) {
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:42:9: note: in expansion of macro 'forto'
42 | forto(n, j) {
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:46:5: note: in expansion of macro 'forto'
46 | forto(n, i) {
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:47:9: note: in expansion of macro 'forto'
47 | forto(n, j) {
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:52:5: note: in expansion of macro 'forto'
52 | forto(n, i) {
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:55:13: note: in expansion of macro 'forto'
55 | forto(n, j) {
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:65:13: note: in expansion of macro 'forto'
65 | forto(len - 1, i) {
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:72:13: note: in expansion of macro 'forto'
72 | forto(n, i) parent[i] = i;
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:74:13: note: in expansion of macro 'forto'
74 | forto(len, i) {
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:75:17: note: in expansion of macro 'forto'
75 | forto(len, j) {
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:116:17: note: in expansion of macro 'forto'
116 | forto(treelen - 1, i) {
| ^~~~~
supertrees.cpp:16:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
supertrees.cpp:123:13: note: in expansion of macro 'forto'
123 | forto(trees.size(), i) {
| ^~~~~
supertrees.cpp:16:52: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ~~~~~~^~~~~~~~
supertrees.cpp:123:13: note: in expansion of macro 'forto'
123 | forto(trees.size(), i) {
| ^~~~~