garden.cpp: In function 'void dfs1(ll)':
garden.cpp:22:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i = 0; i < v[x].sz; i++)
| ^
garden.cpp: In function 'void count_routes(int, int, int, int (*)[2], int, int*)':
garden.cpp:44:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(int i = 0; i < vec.sz; i++)
| ^
garden.cpp:62:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(int i = 0; i < vec.sz; i++)
| ^
garden.cpp:70:20: error: redeclaration of 'll y'
70 | ll y = sp[x][j-1][1].F,m=-1;
| ^
garden.cpp:65:16: note: 'll y' previously declared here
65 | ll y = sp[x][j-1][0].F,m=0;
| ^
garden.cpp:70:40: error: redeclaration of 'll m'
70 | ll y = sp[x][j-1][1].F,m=-1;
| ^
garden.cpp:65:36: note: 'll m' previously declared here
65 | ll y = sp[x][j-1][0].F,m=0;
| ^
garden.cpp:86:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | for(int i = 0; i < vec.sz; i++)
| ^