Problem hamster1
User justin271828
Submission Time 2024-06-01 16:28:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hamster1.cpp:8:23: error: array bound is not an integer constant before ‘]’ token
8 | int e(int x, int arr[N]) {
| ^
hamster1.cpp: In function ‘int e(...)’:
hamster1.cpp:9:11: error: ‘x’ was not declared in this scope
9 | if (memo[x] != -1) return 0;
| ^