| Problem | cpicsort |
|---|---|
| User | yq |
| Submission Time | 2026-06-24 08:58:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cpicsort.cpp: In function ‘int main()’:
cpicsort.cpp:7:20: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::const_iterator std::vector<_Tp, _Alloc>::end() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::vector<_Tp, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const long long int*, std::vector<long long int> >; typename __gnu_cxx::__alloc_traits<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type>::const_pointer = const long long int*]’ (did you forget the ‘()’ ?)
7 | sort(A.begin(), A.end.());
| ~~^~~
| ()