Problem coke
User ChickenCoder
Submission Time 2023-06-10 20:25:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

coke.cpp: In function ‘int main()’:
coke.cpp:26:2: error: ‘memset’ was not declared in this scope
26 | memset(dp, -1, sizeof(dp));
| ^~~~~~
coke.cpp:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
2 | #include <algorithm>
+++ |+#include <cstring>
3 | #include <vector>