QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#382634 | #2161. The Cost of Speed Limits | teletobyqq | Compile Error | / | / | C++14 | 2.4kb | 2024-04-08 17:14:07 | 2024-04-08 17:14:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
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]) | ^