supertrees.cpp: In function 'int bfs(std::vector<std::vector<int> >&, std::vector<int>&, int, std::vector<std::pair<int, int> >&)':
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
36 | forn(i,one.size()) vis[one[i]]=10;
| ~~~~~~~~~~~~
supertrees.cpp:36:3: note: in expansion of macro 'forn'
36 | forn(i,one.size()) vis[one[i]]=10;
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
37 | forn(i,two.size()) vis[two[i]]=10;
| ~~~~~~~~~~~~
supertrees.cpp:37:3: note: in expansion of macro 'forn'
37 | forn(i,two.size()) vis[two[i]]=10;
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
40 | forn(i,one.size()) {
| ~~~~~~~~~~~~
supertrees.cpp:40:3: note: in expansion of macro 'forn'
40 | forn(i,one.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
41 | forn(j,one.size()) {
| ~~~~~~~~~~~~
supertrees.cpp:41:5: note: in expansion of macro 'forn'
41 | forn(j,one.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
46 | forn(i,one.size()) edges.pb(mp(v,one[i]));
| ~~~~~~~~~~~~
supertrees.cpp:46:3: note: in expansion of macro 'forn'
46 | forn(i,one.size()) edges.pb(mp(v,one[i]));
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
56 | forn(i,one.size()) {
| ~~~~~~~~~~~~
supertrees.cpp:56:5: note: in expansion of macro 'forn'
56 | forn(i,one.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
57 | forn(j,two.size()) {
| ~~~~~~~~~~~~
supertrees.cpp:57:7: note: in expansion of macro 'forn'
57 | forn(j,two.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
62 | forn(i,two.size()) {
| ~~~~~~~~~~~~
supertrees.cpp:62:5: note: in expansion of macro 'forn'
62 | forn(i,two.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
64 | forn(j,cycle.size()) {
| ~~~~~~~~~~~~~~
supertrees.cpp:64:7: note: in expansion of macro 'forn'
64 | forn(j,cycle.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
73 | forn(i,cycle.size()) {
| ~~~~~~~~~~~~~~
supertrees.cpp:73:3: note: in expansion of macro 'forn'
73 | forn(i,cycle.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
89 | forn(i,one.size()) {
| ~~~~~~~~~~~~
supertrees.cpp:89:5: note: in expansion of macro 'forn'
89 | forn(i,one.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
90 | forn(j,one.size()) {
| ~~~~~~~~~~~~
supertrees.cpp:90:7: note: in expansion of macro 'forn'
90 | forn(j,one.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
95 | forn(i,one.size()) edges.pb(mp(v,one[i]));
| ~~~~~~~~~~~~
supertrees.cpp:95:5: note: in expansion of macro 'forn'
95 | forn(i,one.size()) edges.pb(mp(v,one[i]));
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
97 | forn(i,one.size()) if (vis[one[i]]!=10) return 0;
| ~~~~~~~~~~~~
supertrees.cpp:97:5: note: in expansion of macro 'forn'
97 | forn(i,one.size()) if (vis[one[i]]!=10) return 0;
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
98 | forn(i,two.size()) if (vis[two[i]]!=10) return 0;
| ~~~~~~~~~~~~
supertrees.cpp:98:5: note: in expansion of macro 'forn'
98 | forn(i,two.size()) if (vis[two[i]]!=10) return 0;
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
105 | forn(i,one.size()) {
| ~~~~~~~~~~~~
supertrees.cpp:105:7: note: in expansion of macro 'forn'
105 | forn(i,one.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
106 | forn(j,two.size()) {
| ~~~~~~~~~~~~
supertrees.cpp:106:9: note: in expansion of macro 'forn'
106 | forn(j,two.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
116 | forn(i,cycle.size()) {
| ~~~~~~~~~~~~~~
supertrees.cpp:116:3: note: in expansion of macro 'forn'
116 | forn(i,cycle.size()) {
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
120 | forn(i,one.size()) vis[one[i]]=1;
| ~~~~~~~~~~~~
supertrees.cpp:120:3: note: in expansion of macro 'forn'
120 | forn(i,one.size()) vis[one[i]]=1;
| ^~~~
supertrees.cpp:4:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forn(i,n) for (int i=0; i<n; ++i)
......
121 | forn(i,two.size()) vis[two[i]]=1;
| ~~~~~~~~~~~~
supertrees.cpp:121:3: note: in expansion of macro 'forn'
121 | forn(i,two.size()) vis[two[i]]=1;
| ^~~~