Problem | nycoordinates |
---|---|
User | personjs |
Submission Time | 2025-01-16 21:58:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nycoordinates.cpp: In function ‘int main()’:
nycoordinates.cpp:4:20: error: ‘MAXN’ was not declared in this scope
4 | long long n, l, x[MAXN], y[MAXN], res = 0;
| ^~~~
nycoordinates.cpp:6:18: error: ‘x’ was not declared in this scope
6 | scanf("%d%d", &x[i], &y[i]);
| ^
nycoordinates.cpp:6:25: error: ‘y’ was not declared in this scope
6 | scanf("%d%d", &x[i], &y[i]);
| ^
nycoordinates.cpp:9:7: error: ‘x’ was not declared in this scope
9 | if (x[i] * x[i] + y[i] * y[i] < l*l) res++;
| ^
nycoordinates.cpp:9:21: error: ‘y’ was not declared in this scope
9 | if (x[i] * x[i] + y[i] * y[i] < l*l) res++;
| ^