Problem prime
User hlepsneder
Submission Time 2023-10-23 09:31:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:10:13: error: expected ‘;’ before ‘for’
10 | y=sqrt(x)+1
| ^
| ;
11 | for (int i=2;i<=y;i++){
| ~~~
prime.cpp:11:15: error: ‘i’ was not declared in this scope
11 | for (int i=2;i<=y;i++){
| ^