QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#785338 | #6660. 택시 여행 | Huluobo | Compile Error | / | / | C++14 | 1.3kb | 2024-11-26 17:35:30 | 2024-11-26 17:35:32 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void dfs(int, int, long long int*)’: answer.code:11:39: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 11 | void dfs(int x,int fa,LL *d){for(auto [y,w]:E[x]) if(y!=fa) d[y]=d[x]+w,dfs(y,x,d);} | ^ answer.code: In function ‘void dij(int)’: answer.code:19:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 19 | auto [x,D]=q.top();q.pop(); | ^ /usr/bin/ld: /tmp/ccZfk9Dt.o: in function `main': implementer.cpp:(.text.startup+0x35e): undefined reference to `travel(std::vector<long long, std::allocator<long long> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)' collect2: error: ld returned 1 exit status