Problem nostatement
User dzuizz
Submission Time 2023-01-28 17:34:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nostatement.cpp: In function ‘int main()’:
nostatement.cpp:33:2: error: ‘memset’ was not declared in this scope
33 | memset(isPrime, 1, sizeof(isPrime));
| ^~~~~~
nostatement.cpp:7:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
6 | #include <cstdlib>
+++ |+#include <cstring>
7 | using namespace std;