QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#122266#6659. 외곽 순환 도로 2van_Dijk#Compile Error//C++143.6kb2023-07-09 21:43:452024-08-26 15:50:50

詳細信息

answer.code:11:14: warning: overflow in conversion from ‘double’ to ‘long long int’ changes value from ‘3.0e+19’ to ‘9223372036854775807’ [-Woverflow]
   11 | const ll inf=3e19;
      |              ^~~~
answer.code: In function ‘void getsiz(int, int)’:
answer.code:68:15: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   68 |     for (auto [u,w]:G[k])
      |               ^
answer.code: In function ‘void getrt(int, int)’:
answer.code:79:15: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   79 |     for (auto [u,w]:G[k])
      |               ^
answer.code: In function ‘void dfs1(int, int)’:
answer.code:95:15: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   95 |     for (auto [u,w]:G[k])
      |               ^
answer.code: In function ‘int dfs(int)’:
answer.code:110:15: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  110 |     for (auto [u,w]:G[rt])
      |               ^
/usr/bin/ld: /tmp/ccXbMYOo.o: in function `main':
implementer.cpp:(.text.startup+0x34a): undefined reference to `place_police(std::vector<int, std::allocator<int> >, std::vector<long long, std::allocator<long long> >, std::vector<long long, std::allocator<long long> >)'
collect2: error: ld returned 1 exit status