Problem nonboringsequences
User PlayVoltz
Submission Time 2023-12-18 19:56:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nonboringsequences.cpp: In function ‘int main()’:
nonboringsequences.cpp:42:3: error: ‘memset’ was not declared in this scope
42 | memset(pv, 0, sizeof(pv));
| ^~~~~~
nonboringsequences.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;