QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#783928#6660. 택시 여행HuluoboCompile Error//C++143.5kb2024-11-26 12:18:082024-11-26 12:18:13

详细

answer.code: In function ‘void dfs(int, int)’:
answer.code:30:19: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   30 |         for (auto [v, w] : g[u]) if (v != f) {
      |                   ^
answer.code: In function ‘void dp(int, int)’:
answer.code:94:19: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   94 |         for (auto [v, w] : g[u]) if (v != fa) {
      |                   ^
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:121:30: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  121 |                         auto [d, u] = pq.top(); pq.pop(); d = -d;
      |                              ^
answer.code:123:35: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  123 |                         for (auto [v, w] : h[u]) if (dis[v] > d + w) {
      |                                   ^
/tmp/ccwhe4wr.o: in function `__tcf_0':
answer.code:(.text+0xa9): relocation truncated to fit: R_X86_64_PC32 against symbol `g' defined in .bss section in /tmp/ccwhe4wr.o
/tmp/ccwhe4wr.o: in function `dfs(int, int)':
answer.code:(.text+0xf9): relocation truncated to fit: R_X86_64_PC32 against symbol `dfn' defined in .bss section in /tmp/ccwhe4wr.o
answer.code:(.text+0x100): relocation truncated to fit: R_X86_64_PC32 against symbol `siz' defined in .bss section in /tmp/ccwhe4wr.o
answer.code:(.text+0x115): relocation truncated to fit: R_X86_64_PC32 against symbol `dfp' defined in .bss section in /tmp/ccwhe4wr.o
answer.code:(.text+0x12a): relocation truncated to fit: R_X86_64_PC32 against symbol `mp' defined in .bss section in /tmp/ccwhe4wr.o
answer.code:(.text+0x130): relocation truncated to fit: R_X86_64_PC32 against symbol `dfp' defined in .bss section in /tmp/ccwhe4wr.o
answer.code:(.text+0x13b): relocation truncated to fit: R_X86_64_PC32 against symbol `ep' defined in .bss section in /tmp/ccwhe4wr.o
answer.code:(.text+0x142): relocation truncated to fit: R_X86_64_PC32 against symbol `st' defined in .bss section in /tmp/ccwhe4wr.o
answer.code:(.text+0x14e): relocation truncated to fit: R_X86_64_PC32 against symbol `ep' defined in .bss section in /tmp/ccwhe4wr.o
answer.code:(.text+0x158): relocation truncated to fit: R_X86_64_PC32 against symbol `beg' defined in .bss section in /tmp/ccwhe4wr.o
answer.code:(.text+0x162): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status