| Problem | nycoordinates |
|---|---|
| User | Xuefei |
| Submission Time | 2026-06-25 09:10:05 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
nycoordinates.cpp: In function ‘int main()’:
nycoordinates.cpp:11:22: error: ‘n’ was not declared in this scope
11 | for(int i = 1; i <= n; i++) cin >> x[i] >> y[i];
| ^
nycoordinates.cpp:13:21: error: ‘n’ was not declared in this scope
13 | for(int i = 1; i <=n; i++){
| ^
nycoordinates.cpp:14:22: error: ‘J’ was not declared in this scope
14 | for(int j = i + 1; J <= n; j++){
| ^
nycoordinates.cpp:18:27: error: expected primary-expression before ‘=’ token
18 | if(dx * dx + dy * dy < = L * L) res += 1;
| ^