0_0_39369875_20531.cpp: In function 'int main()':
0_0_39369875_20531.cpp:41:17: error: 'memset' was not declared in this scope
41 | memset(dp, 0, sizeof(dp)); //初始化dp,所有位置赋值为0
| ^~~~~~
0_0_39369875_20531.cpp:3:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
2 | #include <vector>
+++ |+#include <cstring>
3 | using namespace std;
|