Problem nostatement
User username
Submission Time 2023-01-02 21:04:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nostatement.cpp:7:1: error: expected ‘,’ or ‘;’ before ‘bool’
7 | bool prime[maxn+1];
| ^~~~
nostatement.cpp: In function ‘int main()’:
nostatement.cpp:12:9: error: ‘prime’ was not declared in this scope; did you mean ‘primes’?
12 | memset(prime,true,sizeof(prime));
| ^~~~~
| primes