Problem | prime |
---|---|
User | joshua2152 |
Submission Time | 2023-11-04 12:02:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int main()’:
prime.cpp:6:27: error: ‘sqrt’ was not declared in this scope
6 | for (long int i = 2; i < sqrt(n); i++)
| ^~~~
prime.cpp:13:1: error: expected ‘}’ at end of input
13 | }
| ^
prime.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^