Problem prime
User sqrt2
Submission Time 2025-09-25 11:25:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:23:2: error: expected ‘,’ or ‘;’ before ‘for’
23 | for (int i=2;i<halfway_mark;i++)
| ^~~
prime.cpp:23:15: error: ‘i’ was not declared in this scope
23 | for (int i=2;i<halfway_mark;i++)
| ^