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

Compile Error

mrt.cpp: In function ‘int main()’:
mrt.cpp:38:6: error: ‘class std::multiset<int, std::greater<int> >’ has no member named ‘push’
38 | h.push({0, n});
| ^~~~
mrt.cpp:40:12: error: ‘class std::multiset<int, std::greater<int> >’ has no member named ‘top’
40 | ll k=h.top().second, l=j[n][k];
| ^~~
mrt.cpp:41:7: error: ‘class std::multiset<int, std::greater<int> >’ has no member named ‘pop’
41 | h.pop();
| ^~~
mrt.cpp:45:50: error: ‘l’ was not declared in this scope
45 | j[n][i.first] = min(j[n][i.first], i.second+l);
| ^
mrt.cpp:46:8: error: ‘class std::multiset<int, std::greater<int> >’ has no member named ‘push’
46 | h.push({i.second+l, i.first});
| ^~~~