Problem easyquestion
User popperoni
Submission Time 2026-02-11 23:26:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

easyquestion.cpp: In function ‘int main()’:
easyquestion.cpp:315:18: error: expected ‘;’ before ‘vector’
315 | fs.readInt(N)
| ^
| ;
316 |
317 | vector<ll> A(N);
| ~~~~~~
easyquestion.cpp:319:20: error: ‘A’ was not declared in this scope
319 | fs.readInt(A[i]);
| ^
easyquestion.cpp:351:48: error: ‘A’ was not declared in this scope
351 | for (int i = 0; i < N; ++i) base[pos[i]] = A[i];
| ^
easyquestion.cpp:365:17: error: ‘A’ was not declared in this scope
365 | A[x] = y;
| ^
easyquestion.cpp:371:44: error: ‘A’ was not declared in this scope
371 | if (u == v) { fo.writeLong(A[u], '\n'); continue; }
| ^
easyquestion.cpp:416:21: error: ‘A’ was not