Problem prime
User Bryan
Submission Time 2023-10-09 14:38:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:13:25: error: ‘n’ was not declared in this scope
13 | for (int i = 2; i < n / 2, i++){
| ^
prime.cpp:13:35: error: expected ‘;’ before ‘)’ token
13 | for (int i = 2; i < n / 2, i++){
| ^
| ;