paths.cpp: In function 'int main()':
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:11:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d%d%d", &n, &m, &k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
paths.cpp:13:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d", &C[i]), C[i]--;
| ~~~~~^~~~~~~~~~~~~
paths.cpp:15:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d%d", &u, &v), Adj[u].pb(v), Adj[v].pb(u);
| ~~~~~^~~~~~~~~~~~~~~~