Problem prime
User senkyte
Submission Time 2024-02-15 14:54:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:11:3: error: expected ‘,’ or ‘;’ before ‘for’
11 | for(int i = 3; i < num;i++){
| ^~~
prime.cpp:11:18: error: ‘i’ was not declared in this scope
11 | for(int i = 3; i < num;i++){
| ^