supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:5:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define forn(i, n) for (int (i) = 0; (i) != (n); (i)++)
| ^
supertrees.cpp:32:5: note: in expansion of macro 'forn'
32 | forn(i, n)
| ^~~~
supertrees.cpp:5:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
5 | #define forn(i, n) for (int (i) = 0; (i) != (n); (i)++)
| ^
supertrees.cpp:34:9: note: in expansion of macro 'forn'
34 | forn(j, n)
| ^~~~
supertrees.cpp:5:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define forn(i, n) for (int (i) = 0; (i) != (n); (i)++)
| ^
supertrees.cpp:46:5: note: in expansion of macro 'forn'
46 | forn(i, n)
| ^~~~
supertrees.cpp:5:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
5 | #define forn(i, n) for (int (i) = 0; (i) != (n); (i)++)
| ^
supertrees.cpp:48:9: note: in expansion of macro 'forn'
48 | forn(j, n)
| ^~~~
supertrees.cpp:5:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define forn(i, n) for (int (i) = 0; (i) != (n); (i)++)
| ^
supertrees.cpp:57:5: note: in expansion of macro 'forn'
57 | forn(i, n)
| ^~~~
supertrees.cpp:5:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
5 | #define forn(i, n) for (int (i) = 0; (i) != (n); (i)++)
| ^
supertrees.cpp:60:9: note: in expansion of macro 'forn'
60 | forn(j, n)
| ^~~~
supertrees.cpp:70:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for (int a = 0; a < L.size(); a++)
| ~~^~~~~~~~~~
supertrees.cpp:72:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for (int b = 0; b < L.size(); b++)
| ~~^~~~~~~~~~
supertrees.cpp:80:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for (int a = 0; a < L.size(); a++)
| ~~^~~~~~~~~~
supertrees.cpp:82:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | for (int b = 0; b < L.size(); b++)
| ~~^~~~~~~~~~
supertrees.cpp:89:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
89 | for (int a = 0; a < L.size(); a++)
| ~~^~~~~~~~~~
supertrees.cpp:94:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for (int j = 0; j < z.size(); j++)
| ~~^~~~~~~~~~
supertrees.cpp:97:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
97 | for (int e = 0; e + 1 < z[j].size(); e++)
| ~~~~~~^~~~~~~~~~~~~
supertrees.cpp:108:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
108 | for (int i = 0; i < q.size(); i++)
| ~~^~~~~~~~~~
supertrees.cpp:31:9: warning: unused variable 't' [-Wunused-variable]
31 | int t = 0;
| ^
supertrees.cpp: In function 'void build(std::vector<std::vector<int> >)':
supertrees.cpp:5:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define forn(i, n) for (int (i) = 0; (i) != (n); (i)++)
| ^
supertrees.cpp:132:5: note: in expansion of macro 'forn'
132 | forn(i, b.size())
| ^~~~
supertrees.cpp:5:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define forn(i, n) for (int (i) = 0; (i) != (n); (i)++)
| ~~~~^~~~~~
supertrees.cpp:132:5: note: in expansion of macro 'forn'
132 | forn(i, b.size())
| ^~~~
supertrees.cpp:5:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
5 | #define forn(i, n) for (int (i) = 0; (i) != (n); (i)++)
| ^
supertrees.cpp:134:9: note: in expansion of macro 'forn'
134 | forn(j, b.size())
| ^~~~
supertrees.cpp:5:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define forn(i, n) for (int (i) = 0; (i) != (n); (i)++)
| ~~~~^~~~~~
supertrees.cpp:134:9: note: in expansion of macro 'forn'
134 | forn(j, b.size())
| ^~~~
/tmp/ccSATt11.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/cc98t1n0.o:supertrees.cpp:(.text.startup+0x0): first defined here
/tmp/ccSATt11.o: In function `build(std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >)':
grader.cpp:(.text+0x110): multiple definition of `build(std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >)'
/tmp/cc98t1n0.o:supertrees.cpp:(.text+0xa0): first defined here
collect2: error: ld returned 1 exit status