supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:42:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(x = 0; x < v1.size(); x++)
| ~~^~~~~~~~~~~
supertrees.cpp:43:30: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(y = x + 1; y < v1.size(); y++){
| ~~^~~~~~~~~~~
supertrees.cpp:77:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
77 | if(v2.size() <= vc.back().fi){
| ^
supertrees.cpp:104:40: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
104 | if((L > l) || (R > r) || s != v1.size())
| ~~^~~~~~~~~~~~
supertrees.cpp:27:24: warning: unused variable 's' [-Wunused-variable]
27 | ll i , j , l , r , s = 0, f , n , m , x , y , k;
| ^
supertrees.cpp:27:40: warning: unused variable 'm' [-Wunused-variable]
27 | ll i , j , l , r , s = 0, f , n , m , x , y , k;
| ^
supertrees.cpp:27:52: warning: unused variable 'k' [-Wunused-variable]
27 | ll i , j , l , r , s = 0, f , n , m , x , y , k;
| ^
supertrees.cpp: In function 'int main()':
supertrees.cpp:120:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
120 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
supertrees.cpp:121:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
121 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/cc6HW80K.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccZmqI4J.o:supertrees.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status