roads.cpp: In function 'void DFS(int, int, int)':
roads.cpp:5:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
roads.cpp:28:5: note: in expansion of macro 'rep'
28 | rep(j, B.size()) B[j]+=i.nd;
| ^~~
roads.cpp:5:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
roads.cpp:30:3: note: in expansion of macro 'rep'
30 | rep(i, A.size()) dp[x][0]=max(dp[x][0], A[i]);
| ^~~
roads.cpp:5:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
roads.cpp:31:3: note: in expansion of macro 'rep'
31 | rep(i, B.size()) dp[x][1]=max(dp[x][1], B[i]);
| ^~~