Problem mrt
User havinaaaaash
Submission Time 2024-12-25 22:00:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mrt.cpp: In function ‘std::vector<long long int> dijkstra(long long int)’:
mrt.cpp:9:19: error: expected unqualified-id before ‘<<’ token
9 | priority_queue<<pair<int, int>, vector<pair<int, int>>, greater<pair<int, int>> temporary;
| ^~
mrt.cpp:10:15: error: no match for ‘operator=’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type’ {aka ‘std::vector<long long int>’} and ‘int’)
10 | dist[i] = 0;
| ^
In file included from /usr/include/c++/9/vector:72,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from mrt.cpp: