Problem | numbers |
---|---|
User | PlayVoltz |
Submission Time | 2023-12-20 03:09:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
numbers.cpp: In function ‘long long int ans(long long int)’:
numbers.cpp:39:2: error: ‘memset’ was not declared in this scope
39 | memset(dp, -1, sizeof(dp));
| ^~~~~~
numbers.cpp:17:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
16 | #include <iomanip>
+++ |+#include <cstring>
17 | using namespace std;