Problem prime
User cyhg
Submission Time 2023-11-14 14:04:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:14:34: error: expected ‘)’ before ‘{’ token
14 | } else if ((n == 2) or (n == 3) {
| ~ ^~
| )
prime.cpp:25:1: error: expected statement at end of input
25 | }
| ^
prime.cpp:25:1: error: expected ‘}’ at end of input
prime.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^