Problem | beareatrabbit |
---|---|
User | JIZHE |
Submission Time | 2023-04-07 22:00:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
beareatrabbit.cpp:5:8: error: array bound is not an integer constant before ‘]’ token
5 | int a[N], dp[N];
| ^
beareatrabbit.cpp:5:15: error: array bound is not an integer constant before ‘]’ token
5 | int a[N], dp[N];
| ^
beareatrabbit.cpp: In function ‘int main()’:
beareatrabbit.cpp:12:14: error: ‘a’ was not declared in this scope
12 | cin >> a[i];
| ^
beareatrabbit.cpp:14:5: error: ‘dp’ was not declared in this scope
14 | dp[1] = a[1];
| ^~
beareatrabbit.cpp:14:13: error: ‘a’ was not declared in this scope
14 | dp[1] = a[1];
| ^