Problem | toxic2 |
---|---|
User | newperson |
Submission Time | 2025-03-21 23:21:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
toxic2.cpp: In function ‘void answer_type(std::vector<char>)’:
toxic2.cpp:4:6: error: ‘answered’ was not declared in this scope
4 | if (answered) {
| ^~~~~~~~
toxic2.cpp:5:3: error: ‘WA’ was not declared in this scope
5 | WA("Incorrect. Called answer_type twice\n");
| ^~
toxic2.cpp:8:2: error: ‘answered’ was not declared in this scope
8 | answered=true;
| ^~~~~~~~
toxic2.cpp:9:18: error: ‘n’ was not declared in this scope
9 | if (v.size() != n) {
| ^
toxic2.cpp:10:3: error: ‘WA’ was not declared in this scope
10 | WA("Incorrect number of elements returned\n");
| ^~
toxic2.cpp:13:22: error: ‘n’ was not declared in this scope
13 | for (int i = 0; i < n; ++i) {
| ^
toxic2.cpp:14:15: error: ‘ans’ was not declared in this scope
14 | if (v[i] != ans[i]) {
| ^~~
toxic2.cpp:15:4: err