Problem potatotree
User Thomas
Submission Time 2023-07-13 20:03:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatotree.cpp: In function ‘int main()’:
potatotree.cpp:27:3: error: ‘memset’ was not declared in this scope
27 | memset(0,c,sizeof(c));
| ^~~~~~
potatotree.cpp:2:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
1 | #include <iostream>
+++ |+#include <cstring>
2 | using namespace std;