cities.cpp: In function 'int main()':
cities.cpp:27:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<heh.size();i++)
~^~~~~~~~~~~
cities.cpp:28:33: warning: narrowing conversion of 'heh.std::vector<long long int>::operator[](((std::vector<long long int>::size_type)i))' from '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' to 'int' inside { } [-Wnarrowing]
q.push({heh[i], 1<<i, 0});
^
cities.cpp:46:27: warning: narrowing conversion of 'w.std::pair<long long int, long long int>::first' from 'long long int' to 'int' inside { } [-Wnarrowing]
q.push({w.first, v.m, v.d+w.second});
~~^~~~~
cities.cpp:17:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%lld%lld%lld",&n,&k,&m),i=1;i<=k;i++){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cities.cpp:18:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
~~~~~^~~~~~~~~~~
cities.cpp:22:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&x,&y,&w);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~