Problem foreveralone
User avner21
Submission Time 2023-04-21 15:57:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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