commuter_pass.cpp: In function 'void dijkstra(int, ll*)':
commuter_pass.cpp:28:6: warning: unused variable 'w' [-Wunused-variable]
ll w = it.w;
^
commuter_pass.cpp: In function 'int main()':
commuter_pass.cpp:53:2: error: expected ',' or ';' before 'for'
for(int i=1; i<=N; ++i)
^~~
commuter_pass.cpp:53:15: error: 'i' was not declared in this scope
for(int i=1; i<=N; ++i)
^
commuter_pass.cpp:52:63: warning: unused variable 'ds' [-Wunused-variable]
ll mnu = 1000000000000000000LL, mnv = 1000000000000000000LL, ds = dists[T]
^~
commuter_pass.cpp:41:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d", &N, &M, &S, &T, &U, &V);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
commuter_pass.cpp:44:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &u, &v, &c);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~