Problem numbers
User Pan
Submission Time 2023-11-13 23:22:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

numbers.cpp: In function ‘ll ans(std::string)’:
numbers.cpp:47:2: error: ‘memset’ was not declared in this scope
47 | memset(dp, -1, sizeof(dp));
| ^~~~~~
numbers.cpp:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
2 | #include <iostream>
+++ |+#include <cstring>
3 | #include <string>