commuter_pass.cpp: In function 'int main()':
commuter_pass.cpp:53:46: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d%d%d%d%d", &N, &M, &S, &T, &U, &V);
~~ ^
commuter_pass.cpp:53:46: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
commuter_pass.cpp:53:46: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
commuter_pass.cpp:53:46: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
commuter_pass.cpp:53:46: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long long int*' [-Wformat=]
commuter_pass.cpp:53:46: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'long long int*' [-Wformat=]
commuter_pass.cpp:73:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < adj[prv].size(); j++) {
~~^~~~~~~~~~~~~~~~~
commuter_pass.cpp:53:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d", &N, &M, &S, &T, &U, &V);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
commuter_pass.cpp:55:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &A, &B, &C);
~~~~~^~~~~~~~~~~~~~~~~~~~~~