Problem ancestor
User Fr5ctal
Submission Time 2025-10-19 12:18:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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