Problem | packingducks |
---|---|
User | shoryu386 |
Submission Time | 2023-11-19 19:17:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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: In function ‘int main()’:
packingducks.cpp:36:2: error: ‘memset’ was not declared in this scope
36 | memset(dp, -1, sizeof(dp));
| ^~~~~~
packingducks.cpp:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
2 | #include <map>
+++ |+#include <cstring>
3 |