Problem | lis_easy |
---|---|
User | asruby |
Submission Time | 2023-12-01 11:59:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp:5:12: error: array bound is not an integer constant before ‘]’ token
5 | int arr[MAX];
| ^
lis_easy.cpp: In function ‘long long int recur(long long int)’:
lis_easy.cpp:7:10: error: ‘arr’ was not declared in this scope
7 | cout << arr[i];
| ^~~
lis_easy.cpp:7:14: error: ‘i’ was not declared in this scope
7 | cout << arr[i];
| ^
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:15:13: error: ‘arr’ was not declared in this scope
15 | cin >> arr[i];
| ^~~