paths.cpp: In function 'int main()':
paths.cpp:12:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
12 | scanf("%I64d%I64d%I64d", &n, &m, &k);
| ~~~~^ ~~
| | |
| int* long long int*
| %I64lld
paths.cpp:12:18: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
12 | scanf("%I64d%I64d%I64d", &n, &m, &k);
| ~~~~^ ~~
| | |
| int* long long int*
| %I64lld
paths.cpp:12:23: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
12 | scanf("%I64d%I64d%I64d", &n, &m, &k);
| ~~~~^ ~~
| | |
| int* long long int*
| %I64lld
paths.cpp:14:11: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
14 | scanf("%d", &C[i]), C[i]--;
| ~^ ~~~~~
| | |
| | long long int*
| int*
| %lld
paths.cpp:16:11: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
16 | scanf("%d%d", &u, &v), Adj[u].pb(v), Adj[v].pb(u);
| ~^ ~~
| | |
| int* long long int*
| %lld
paths.cpp:16:13: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
16 | scanf("%d%d", &u, &v), Adj[u].pb(v), Adj[v].pb(u);
| ~^ ~~
| | |
| int* long long int*
| %lld
paths.cpp:25:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll' {aka 'long long int'} [-Wformat=]
25 | printf("%I64d", ans);
| ~~~~^ ~~~
| | |
| int ll {aka long long int}
| %I64lld
paths.cpp:12:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%I64d%I64d%I64d", &n, &m, &k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
paths.cpp:14:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d", &C[i]), C[i]--;
| ~~~~~^~~~~~~~~~~~~
paths.cpp:16:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%d%d", &u, &v), Adj[u].pb(v), Adj[v].pb(u);
| ~~~~~^~~~~~~~~~~~~~~~