Problem | mrt |
---|---|
User | havinaaaaash |
Submission Time | 2024-12-25 22:00:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mrt.cpp: In function ‘int main()’:
mrt.cpp:18:23: error: expected unqualified-id before ‘<<’ token
18 | priority_queue<<pair<int, int>, vector<pair<int, int>>, greater<pair<int, int>> temporary;
| ^~
mrt.cpp:20:9: error: ‘temporary’ was not declared in this scope
20 | temporary.push({0, i});
| ^~~~~~~~~
mrt.cpp:31:32: 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 ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’})
31 | if(dist[neigh] > dist[i][curNode] + neighDist){
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bi