Problem | nycoordinates |
---|---|
User | JustKitkat |
Submission Time | 2024-10-29 13:26:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nycoordinates.cpp: In function ‘int main()’:
nycoordinates.cpp:43:34: error: ‘arr’ was not declared in this scope
43 | for (ll i=0; i<n; ++i) {cin >> arr[i].f >> arr[i].s;}
| ^~~
nycoordinates.cpp:48:12: error: ‘arr’ was not declared in this scope
48 | if (abs(arr[i].f-arr[j].f)*abs(arr[i].f-arr[j].f) + abs(arr[i].s-arr[j].s)*abs(arr[i].s-arr[j].s) <= l*l) ans++;
| ^~~