QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#784995#6660. 택시 여행HuluoboCompile Error//C++143.9kb2024-11-26 16:32:282024-11-26 16:32:35

詳細信息

answer.code: In lambda function:
answer.code:70:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   70 |         for(auto [v,w]:e[u]){
      |                  ^
answer.code: In lambda function:
answer.code:82:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   82 |         for(auto [v,w]:e[u]){
      |                  ^
answer.code: In function ‘int build(long long int, long long int)’:
answer.code:89:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   89 |     for(auto [v,w]:e[rt]){
      |              ^
/usr/bin/ld: /tmp/ccGYWTrj.o: in function `my_assert(bool, int)':
answer.code:(.text+0x1810): multiple definition of `my_assert(bool, int)'; /tmp/cchsNJlk.o:implementer.cpp:(.text+0x40): first defined here
/usr/bin/ld: /tmp/ccGYWTrj.o: in function `main':
answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/cchsNJlk.o:implementer.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status