| Problem | nycoordinates |
|---|---|
| User | shaekpie |
| Submission Time | 2026-06-24 16:54:32 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
nycoordinates.cpp: In function ‘int main()’:
nycoordinates.cpp:19:32: error: expected ‘)’ before ‘{’ token
19 | for (int j = i+1; j< N; j ++ {
| ~ ^~
| )
nycoordinates.cpp:20:41: error: invalid type argument of unary ‘*’ (have ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’})
20 | if (C[i][1]-C[j][1])*(C[i][1]-C[j][1]) + (C[i][2]-C[j][2])*(C[i][2]-C[j][2]) <= L*L)
| ^
nycoordinates.cpp: At global scope:
nycoordinates.cpp:25:2: error: ‘cout’ does not name a type
25 | cout << counter;
| ^~~~
nycoordinates.cpp:26:1: error: expected declaration before ‘}’ token
26 | }
| ^