QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#328873#7883. Takeout Deliveringucup-team1423Compile Error//C++141.4kb2024-02-16 09:33:262024-02-16 09:33:26

Details

answer.code: In function ‘i32 main()’:
answer.code:17:16: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   17 |     for (auto &[u, v, w]: edge) {
      |                ^
answer.code: In lambda function:
answer.code:28:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   28 |             auto [d, u] = q.top();
      |                  ^
answer.code:32:23: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   32 |             for (auto [v, w]: e[u]) {
      |                       ^
answer.code: In function ‘i32 main()’:
answer.code:41:15: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   41 |     for (auto [u, v, w]: edge) {
      |               ^
answer.code:42:9: error: ‘arry’ was not declared in this scope
   42 |         arry<int, 3> tmp1 = {d1[u], dn[v], w};
      |         ^~~~
answer.code:42:14: error: expected primary-expression before ‘int’
   42 |         arry<int, 3> tmp1 = {d1[u], dn[v], w};
      |              ^~~
answer.code:43:14: error: expected primary-expression before ‘int’
   43 |         arry<int, 3> tmp2 = {dn[u], d1[v], w};
      |              ^~~
answer.code:44:14: error: ‘tmp1’ was not declared in this scope; did you mean ‘tm’?
   44 |         sort(tmp1.begin(), tmp1.end());
      |              ^~~~
      |              tm
answer.code:45:14: error: ‘tmp2’ was not declared in this scope; did you mean ‘tm’?
   45 |         sort(tmp2.begin(), tmp2.end());
      |              ^~~~
      |              tm