Problem | prime |
---|---|
User | Elwinthenerd |
Submission Time | 2024-03-31 13:25:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int main()’:
prime.cpp:6:24: error: ‘N’ was not declared in this scope
6 | for (int i=2; i<=sqrt(N); ++i) {
| ^
prime.cpp:6:19: error: ‘sqrt’ was not declared in this scope
6 | for (int i=2; i<=sqrt(N); ++i) {
| ^~~~
prime.cpp:7:11: error: lvalue required as left operand of assignment
7 | if (x%i=0) {
| ^