Problem | gentlepairs |
---|---|
User | jeongwonho64 |
Submission Time | 2023-12-12 11:30:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gentlepairs.cpp: In function ‘int main()’:
gentlepairs.cpp:177:23: error: request for member ‘first’ in ‘arr[i]’, which is of non-class type ‘long long int’
177 | cin >> arr[i].first >> arr[i].second;
| ^~~~~
gentlepairs.cpp:177:39: error: request for member ‘second’ in ‘arr[i]’, which is of non-class type ‘long long int’
177 | cin >> arr[i].first >> arr[i].second;
| ^~~~~~
gentlepairs.cpp:179:32: error: request for member ‘second’ in ‘arr[i]’, which is of non-class type ‘long long int’
179 | int a = abs(arr[i].second - arr[j].second);
| ^~~~~~
gentlepairs.cpp:179:48: error: request for member ‘second’ in ‘arr[j]’, which is of non-class type ‘long long int’
179 | int a = abs(arr[i].second - arr[j].second);
| ^~~~~~
ge