Problem | mrt |
---|---|
User | Henries |
Submission Time | 2024-12-02 13:09:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mrt.cpp: In function ‘long long int dijkstra(long long int, long long int)’:
mrt.cpp:18:36: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type’ {aka ‘struct std::pair<long long int, long long int>’} has no member named ‘size’
18 | for(int i = 0;i<adjlist[node][i].size();i++){
| ^~~~
mrt.cpp: In function ‘int main()’:
mrt.cpp:42:2: error: ‘dist’ was not declared in this scope
42 | dist.resize(n,LLONG_MAX);
| ^~~~