Problem | prime |
---|---|
User | MajesticMist |
Submission Time | 2024-05-21 11:51:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp:2:17: error: missing terminating > character
2 | #include <math.h
| ^
prime.cpp: In function ‘int main()’:
prime.cpp:5:5: error: ‘prime_status’ was not declared in this scope
5 | prime_status = 1;
| ^~~~~~~~~~~~
prime.cpp:6:5: error: ‘limit’ was not declared in this scope
6 | limit = floor(sqrt(x));
| ^~~~~
prime.cpp:18:16: error: ‘Prime’ was not declared in this scope
18 | return Prime;
| ^~~~~
prime.cpp:20:16: error: ‘Not’ was not declared in this scope
20 | return Not Prime;
| ^~~
prime.cpp:20:19: error: expected ‘;’ before ‘Prime’
20 | return Not Prime;
| ^~~~~~
| ;
prime.cpp:20:20: error: ‘Prime’ was not declared in this scope
20 | return Not Prime;
| ^~~~~