Problem | rushing |
---|---|
User | Josh28acc2 |
Submission Time | 2023-12-29 14:34:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rushing.cpp: In function ‘void solve()’:
rushing.cpp:70:42: error: expected ‘;’ before ‘)’ token
70 | adjlist[t2].push_back(MP(t1, t3)));
| ^
| ;
rushing.cpp:75:28: error: no matching function for call to ‘std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >::push(std::pair<int, int>)’
75 | pq.push(make_pair(0, 1)); // for multisource just push more nodes with dist 0
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from rushing.cpp:25:
/usr/include/c++/9/bits/stl_queue.h:627:7: note: candidate: ‘void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = long long int; _Sequence = std::vector<long long int>; _Co