Problem 0405
User andthatsallshewrote
Submission Time 2023-11-17 14:48:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

0405.cpp: In function ‘int check_prime(int)’:
0405.cpp:10:24: error: ‘sqrt’ was not declared in this scope
10 | for (int i = 2; i <= sqrt(n); i++){
| ^~~~
0405.cpp: In function ‘int main()’:
0405.cpp:30:1: error: expected ‘}’ at end of input
30 | }
| ^
0405.cpp:19:11: note: to match this ‘{’
19 | int main(){
| ^