QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#156691 | #7109. Traveling on the Axis | ucup-team1611# | Compile Error | / | / | C++14 | 2.4kb | 2023-09-02 14:03:22 | 2023-09-02 14:38:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void sC()’: answer.code:17:12: error: ‘array’ was not declared in this scope 17 | vector<array<int, 3> > ve(n); | ^~~~~ answer.code:6:1: note: ‘std::array’ is defined in header ‘<array>’; did you forget to ‘#include <array>’? 5 | #include <cassert> +++ |+#include <array> 6 | answer.code:17:24: error: template argument 1 is invalid 17 | vector<array<int, 3> > ve(n); | ^ answer.code:17:24: error: template argument 2 is invalid answer.code:17:26: error: expected unqualified-id before ‘>’ token 17 | vector<array<int, 3> > ve(n); | ^ answer.code:22:13: error: ‘ve’ was not declared in this scope 22 | ve[i] = {0, a}; | ^~ answer.code:25:13: error: ‘ve’ was not declared in this scope 25 | ve[i] = {_C[s[1]], a, --b}; | ^~ answer.code:30:12: error: missing template arguments before ‘vis’ 30 | vector vis(n, vector<int>(256)); | ^~~ answer.code:33:13: error: ‘vis’ was not declared in this scope 33 | if (vis[now][val]) { | ^~~ answer.code:37:9: error: ‘vis’ was not declared in this scope 37 | vis[now][val] = 1; | ^~~ answer.code:38:17: error: ‘ve’ was not declared in this scope 38 | switch (ve[now][0]) { | ^~