cities.cpp: In function 'int main()':
cities.cpp:16:28: warning: narrowing conversion of 'e' from 'long long int' to 'int' inside { } [-Wnarrowing]
edge[s].push_back({ e,w });
^
cities.cpp:16:28: warning: narrowing conversion of 'w' from 'long long int' to 'int' inside { } [-Wnarrowing]
cities.cpp:17:28: warning: narrowing conversion of 's' from 'long long int' to 'int' inside { } [-Wnarrowing]
edge[e].push_back({ s,w });
^
cities.cpp:17:28: warning: narrowing conversion of 'w' from 'long long int' to 'int' inside { } [-Wnarrowing]
cities.cpp:28:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < edge[now.second].size(); j++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~
cities.cpp:11:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
long long n, m, k; scanf("%lld%lld%lld", &n, &k, &m);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cities.cpp:13:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (i = 0; i < k; i++)scanf("%lld", &L[i]);
~~~~~^~~~~~~~~~~~~~~
cities.cpp:15:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
long long s, e, w; scanf("%lld%lld%lld", &s, &e, &w);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~