Problem eescapism
User sussyimpasta
Submission Time 2025-04-17 00:24:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eescapism.cpp: In function ‘int main()’:
eescapism.cpp:19:20: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::const_iterator std::vector<_Tp, _Alloc>::end() const [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const int*, std::vector<int> >; typename __gnu_cxx::__alloc_traits<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type>::const_pointer = const int*]’ (did you forget the ‘()’ ?)
19 | S += v.end;
| ~~^~~
| ()
eescapism.cpp:23:5: error: expected ‘}’ at end of input
23 | }
| ^
eescapism.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^