Problem foreveralone
User Dolphy
Submission Time 2023-08-13 17:23:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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