Problem packingducks
User shoryu386
Submission Time 2023-11-19 19:17:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

packingducks.cpp: In function ‘int deez(int, int)’:
packingducks.cpp:25:97: error: expected ‘;’ before ‘}’ token
25 | dp[index][value] = (deez(index + 1, value + a[index]) + deez(index + 1, value)) % 1000000007});
| ^
| ;
packingducks.cpp: At global scope:
packingducks.cpp:25:98: error: expected unqualified-id before ‘)’ token
25 | dp[index][value] = (deez(index + 1, value + a[index]) + deez(index + 1, value)) % 1000000007});
| ^
packingducks.cpp:26:5: error: expected unqualified-id before ‘return’
26 | return dp[index][value];
| ^~~~~~
packingducks.cpp:27:1: error: expected declaration before ‘}’ token
27 | }