Problem | flappyrabbit |
---|---|
User | bz |
Submission Time | 2024-03-19 22:57:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flappyrabbit.cpp: In function ‘void init(std::vector<int>, std::vector<int>)’:
flappyrabbit.cpp:7:18: error: ‘N’ was not declared in this scope
7 | for (int i=1; i<N; i++) A[i] = max(A[i-1], A[i]);
| ^
flappyrabbit.cpp:8:13: error: ‘N’ was not declared in this scope
8 | for (int i=N-2; i>=1; i--) B[i] = min(B[i+1], B[i]);
| ^