Problem | prime |
---|---|
User | Johnnie |
Submission Time | 2023-06-09 21:12:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int main()’:
prime.cpp:7:27: error: ‘sqrt’ was not declared in this scope
7 | for (int i = 0; i < ceil(sqrt(n)); i++)
| ^~~~
prime.cpp:7:22: error: ‘ceil’ was not declared in this scope
7 | for (int i = 0; i < ceil(sqrt(n)); i++)
| ^~~~