Problem prime
User Dannyboy
Submission Time 2023-11-08 13:52:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:8:14: error: expected ‘;’ before ‘}’ token
8 | prime=false
| ^
| ;
9 | }else{
| ~
prime.cpp:19:1: error: expected ‘}’ at end of input
19 | }
| ^
prime.cpp:9:7: note: to match this ‘{’
9 | }else{
| ^
prime.cpp:19:1: error: expected ‘}’ at end of input
19 | }
| ^
prime.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^