Problem | xmas |
---|---|
User | Yizhou |
Submission Time | 2024-10-11 13:25:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
xmas.cpp: In function ‘int main()’:
xmas.cpp:17:11: error: request for member ‘begin’ in ‘arr’, which is of non-class type ‘std::pair<int, int> [n]’
17 | sort(arr.begin(),arr.end(),cmp);
| ^~~~~
xmas.cpp:17:23: error: request for member ‘end’ in ‘arr’, which is of non-class type ‘std::pair<int, int> [n]’
17 | sort(arr.begin(),arr.end(),cmp);
| ^~~