0_0_39330672_18110.cpp: In function 'void is_prime()':
0_0_39330672_18110.cpp:8:5: error: 'memset' was not declared in this scope
8 | memset(prime,1,sizeof(prime));
| ^~~~~~
0_0_39330672_18110.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;
|