cities.cpp: In function 'int main()':
cities.cpp:50:18: error: 'pil' was not declared in this scope
for( pil v : g[u] ) if( d[v.x][bi] > di + v.y ) {
^~~
cities.cpp:50:18: note: suggested alternative: 'pii'
for( pil v : g[u] ) if( d[v.x][bi] > di + v.y ) {
^~~
pii
cities.cpp:54:9: error: expected primary-expression before '}' token
}
^
cities.cpp:54:9: error: expected ';' before '}' token
cities.cpp:54:9: error: expected primary-expression before '}' token
cities.cpp:54:9: error: expected ')' before '}' token
cities.cpp:54:9: error: expected primary-expression before '}' token
cities.cpp:48:24: warning: unused variable 'di' [-Wunused-variable]
long long di = -now.x;
^~
cities.cpp:49:17: warning: unused variable 'u' [-Wunused-variable]
int u = now.y.x, bi = now.y.y;
^
cities.cpp:49:30: warning: unused variable 'bi' [-Wunused-variable]
int u = now.y.x, bi = now.y.y;
^~
cities.cpp:17:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&k,&m);
~~~~~^~~~~~~~~~~~~~~~~~~~~
cities.cpp:19:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
~~~~~^~~~~~~~~
cities.cpp:24:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %lld",&a,&b,&d);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~