Problem | nprime |
---|---|
User | themadpotato |
Submission Time | 2024-02-23 16:27:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nprime.cpp: In function ‘int main()’:
nprime.cpp:14:41: error: ‘sqrt’ was not declared in this scope
14 | for(long long i=2;i< (long long)floor(sqrt(num));i++){
| ^~~~
nprime.cpp:14:35: error: ‘floor’ was not declared in this scope
14 | for(long long i=2;i< (long long)floor(sqrt(num));i++){
| ^~~~~
nprime.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
nprime.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^