Problem | nycoordinates |
---|---|
User | JustKitkat |
Submission Time | 2024-10-29 13:26:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nycoordinates.cpp:34:1: error: ‘pi’ does not name a type; did you mean ‘pb’?
34 | pi arr[10000];
| ^~
| pb
nycoordinates.cpp: In function ‘int main()’:
nycoordinates.cpp:48:34: error: ‘arr’ was not declared in this scope
48 | for (ll i=0; i<n; ++i) {cin >> arr[i].f >> arr[i].s;}
| ^~~
nycoordinates.cpp:53:12: error: ‘arr’ was not declared in this scope
53 | 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++;
| ^~~