QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#783839 | #6660. 택시 여행 | Huluobo | Compile Error | / | / | C++14 | 1.6kb | 2024-11-26 11:59:49 | 2024-11-26 11:59:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘std::vector<long long int> travel(std::vector<long long int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)’: answer.code:48:26: error: ‘class std::priority_queue<std::pair<int, std::pair<int, int> >, std::vector<std::pair<int, std::pair<int, int> > >, std::greater<std::pair<int, std::pair<int, int> > > >’ has no member named ‘frnt’ 48 | auto t=q.frnt();q.pop(); | ^~~~ answer.code:54:30: error: ‘u’ was not declared in this scope 54 | for(auto t:g[u]) | ^ answer.code:57:50: error: ‘w’ was not declared in this scope 57 | if(dist[now][frm]+B[frm]*w<dist[j][frm]) | ^ answer.code:59:61: error: ‘b’ was not declared in this scope 59 | dist[j][frm]=dist[now][frm]+b[i]*w; | ^ answer.code:59:63: error: ‘i’ was not declared in this scope 59 | dist[j][frm]=dist[now][frm]+b[i]*w; | ^ answer.code:62:57: error: ‘w’ was not declared in this scope 62 | if(dist[now][frm]+A[now]+B[now]*w<dist[j][now]) | ^ answer.code:70:39: error: invalid conversion from ‘int*’ to ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} [-fpermissive] 70 | fo(i,1,n-1) C[i-1]=min_element(dist[i],dist[i]+n); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | | | int* answer.code:71:16: error: could not convert ‘C’ from ‘vector<int>’ to ‘vector<long long int>’ 71 | return C; | ^ | | | vector<int>