Problem mrt
User Henries
Submission Time 2024-12-02 13:09:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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++){
| ^~~~