Problem prime
User astrohiro
Submission Time 2024-02-24 16:50:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:10:29: error: expected ‘;’ before ‘)’ token
10 | for(int i = 2; i <= sqrt(n)){
| ^
| ;
prime.cpp:18:1: error: expected ‘}’ at end of input
18 | }
| ^
prime.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^