Problem mrt
User PerihelionfromAphelion
Submission Time 2026-07-24 20:52:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mrt.cpp: In function ‘void mrt(long long int)’:
mrt.cpp:9:76: error: template argument 2 is invalid
9 | vector <pair <int, int>, vector<pair<int, int>, greater<pair <int, int>>> pq;
| ^~
mrt.cpp:10:7: error: ‘i’ was not declared in this scope
10 | for (i = 0; i < n; i++) {
| ^
mrt.cpp:14:2: error: ‘pq’ was not declared in this scope; did you mean ‘q’?
14 | pq.push({0, start});
| ^~
| q
mrt.cpp: In function ‘int32_t main()’:
mrt.cpp:37:7: error: ‘i’ was not declared in this scope
37 | for (i = 0; i < e; i++) {
| ^
mrt.cpp:40:13: error: expected ‘;’ before ‘_push’
40 | adjList[x]_push.back({y, t});
| ^~~~~
| ;
mrt.cpp:40:30: error: expected primary-expression before ‘)’ token
40 | adjList[x]_push.back({y, t});