cities.cpp: In member function 'bool cmp::operator()(node, node)':
cities.cpp:22:13: warning: statement has no effect [-Wunused-value]
22 | a.w > b.w;
| ~~~~^~~~~
cities.cpp:23:5: warning: no return statement in function returning non-void [-Wreturn-type]
23 | }
| ^
cities.cpp: In function 'void dij(long long int)':
cities.cpp:31:13: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
31 | auto[u,w,mas] = q.top();q.pop();
| ^
cities.cpp: In function 'int32_t main()':
cities.cpp:49:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
49 | freopen(task".inp","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
cities.cpp:50:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
50 | freopen(task".out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
cities.cpp:72:32: warning: iteration 70 invokes undefined behavior [-Waggressive-loop-optimizations]
72 | forinc(j,0,70) f[i][j] = oo;
| ~~~~~~~~^~~~
cities.cpp:2:36: note: within this loop
2 | #define forinc(i,a,b) for(int i=a;i<=b;i++)
......
72 | forinc(j,0,70) f[i][j] = oo;
| ~~~~~~
cities.cpp:72:9: note: in expansion of macro 'forinc'
72 | forinc(j,0,70) f[i][j] = oo;
| ^~~~~~