Problem prime
User Astronite
Submission Time 2024-03-06 16:36:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:7:9: error: expected ‘;’ before ‘int’
7 | sqrt(x)
| ^
| ;
8 | int y = 0;
| ~~~
prime.cpp:15:4: error: ‘y’ was not declared in this scope
15 | y = 1;
| ^
prime.cpp:18:7: error: ‘y’ was not declared in this scope
18 | if ( y == 1){
| ^