Problem countalp
User Dolphy
Submission Time 2023-08-25 15:18:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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