Problem | mrt |
---|---|
User | FIips |
Submission Time | 2025-02-24 14:19:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mrt.cpp: In function ‘int32_t main()’:
mrt.cpp:43:32: error: expected ‘)’ before ‘}’ token
43 | pq.push(make_pair(dist[it]}, neigh));
| ~ ^
| )
mrt.cpp:43:33: error: expected primary-expression before ‘,’ token
43 | pq.push(make_pair(dist[it]}, neigh));
| ^
mrt.cpp:43:35: error: ‘neigh’ was not declared in this scope
43 | pq.push(make_pair(dist[it]}, neigh));
| ^~~~~
mrt.cpp:48:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
48 | ans = dist[y];
| ^~~
| abs
mrt.cpp:48:9: error: ‘dist’ was not declared in this scope
48 | ans = dist[y];
| ^~~~
mrt.cpp: At global scope:
mrt.cpp:51:1: error: expected declaration before ‘}’ token
51 | }
| ^