QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#382634#2161. The Cost of Speed LimitsteletobyqqCompile Error//C++142.4kb2024-04-08 17:14:072024-04-08 17:14:08

詳細信息

answer.code: In function ‘int dfs(int, int, int)’:
answer.code:39:15: error: ‘size’ was not declared in this scope
   39 |     int deg = size(g[x]);
      |               ^~~~
answer.code:42:13: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   42 |     for(auto[nx, w] : g[x]){
      |             ^
answer.code:56:17: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   56 |         for(auto[nx, w]:g[x]){
      |                 ^
answer.code: In function ‘void solve()’:
answer.code:75:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   75 |         for(auto&[nx, w]: g[i])
      |                  ^