xanadu.cpp: In function 'void dfs(long long int, long long int)':
xanadu.cpp:19:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(j=1;j<u.size();j++){
| ~^~~~~~~~~
xanadu.cpp:27:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(j=0;j<u.size();j++){
| ~^~~~~~~~~
xanadu.cpp:43:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(j=1;j<u.size();j++){
| ~^~~~~~~~~
xanadu.cpp:51:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for(j=0;j<u.size();j++){
| ~^~~~~~~~~
xanadu.cpp: In function 'int main()':
xanadu.cpp:61:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
61 | scanf("%lld",&n);
| ~~~~~^~~~~~~~~~~
xanadu.cpp:63:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
63 | scanf("%lld %lld",&u,&v);
| ~~~~~^~~~~~~~~~~~~~~~~~~
xanadu.cpp:67:28: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
67 | for(i=1;i<=n;i++) scanf("%lld",&st[i]),dp[i][0][0]=dp[i][0][1]=dp[i][1][0]=dp[i][1][1]=1000000000;
| ~~~~~^~~~~~~~~~~~~~~