Problem | prime |
---|---|
User | StormyGood |
Submission Time | 2024-01-25 17:09:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int main()’:
prime.cpp:12:13: error: ‘sqrt’ was not declared in this scope; did you mean ‘sqrs’?
12 | int sqrs = sqrt(a)
| ^~~~
| sqrs
prime.cpp:13:18: error: ‘i’ was not declared in this scope
13 | for (int i = 3; i < sqrs; i+=2)
| ^