Problem prime
User AltheaZ
Submission Time 2023-06-20 10:15:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:17:30: error: expected ‘)’ before ‘;’ token
17 | for (int x=2;x<=sqrt(n);x++;){
| ~ ^
| )
prime.cpp:17:31: error: expected primary-expression before ‘)’ token
17 | for (int x=2;x<=sqrt(n);x++;){
| ^