QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#294953 | #6306. Chase Game | HuangHanSheng | Compile Error | / | / | C++20 | 3.4kb | 2023-12-30 17:40:49 | 2023-12-30 17:40:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:133:9: error: invalid initialization of reference of type ‘std::vector<std::vector<std::pair<long long int, long long int> > >&’ from expression of type ‘std::vector<std::vector<std::pair<int, int> >, std::allocator<std::vector<std::pair<int, int> > > >’ 133 | dij(vt2,1,dis_1,0); | ^~~ answer.code:61:31: note: in passing argument 1 of ‘void dij(std::vector<std::vector<std::pair<long long int, long long int> > >&, int, long long int*, int)’ 61 | void dij(vector<vector<pll>> &mp,int s, ll* dis,int op) | ~~~~~~~~~~~~~~~~~~~~~^~