Problem mrt
User YellowPurpleDragon
Submission Time 2025-03-13 11:38:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mrt.cpp:12:11: error: expected unqualified-id before numeric constant
12 | vc<vc<pd>>5 f(201);
| ^
mrt.cpp: In function ‘int main()’:
mrt.cpp:34:3: error: ‘f’ was not declared in this scope
34 | f[c].push_back({d, e});
| ^
mrt.cpp:45:17: error: ‘f’ was not declared in this scope
45 | for (auto i:f[k]) {
| ^
mrt.cpp:48:34: error: no matching function for call to ‘std::priority_queue<std::pair<long long int, long long int>, std::vector<std::pair<long long int, long long int> >, std::greater<std::pair<long long int, long long int> > >::push(<brace-enclosed initializer list>)’
48 | h.push({i.second+l, i.first});
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from mrt.cpp:1:
/usr/inclu