Problem pilot
User AccountName
Submission Time 2023-12-21 13:55:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pilot.cpp: In function ‘int main()’:
pilot.cpp:24:16: error: invalid type argument of unary ‘*’ (have ‘int’)
24 | int cache[10**6 + 1];
| ^
pilot.cpp:25:22: error: invalid type argument of unary ‘*’ (have ‘int’)
25 | for (int i=0; i<10**6 + 2; i++) {
| ^
pilot.cpp:26:3: error: ‘cache’ was not declared in this scope
26 | cache[i] = -1;
| ^~~~~