Blyninė
- [1] 2019-03-03 13:47 (25.8)
- [2] 2019-03-03 13:51 (0)
- [3] 2019-03-03 13:52 (0)
- [4] 2019-03-03 13:53 (25.8)
- [5] 2019-03-03 13:54 (25.8)
- [6] 2019-03-03 13:59 (48.4)
- [7] 2019-03-03 14:00 (48.4)
- [8] 2019-03-03 14:03 (48.4)
- [9] 2019-03-03 14:10 (48.4)
- [10] 2019-03-03 14:20 (48.4)
- [11] 2019-03-03 14:21 (48.4)
- [12] 2019-03-03 14:22 (48.4)
- [13] 2019-03-03 14:24 (48.4)
- [14] 2019-03-03 18:03 (67.7)
- [15] 2019-03-03 18:05 (100)
- [16] 2019-03-03 18:06 (100)
Taškai: 0
Compile: FAIL
blynine.cpp: In function ‘int main()’: blynine.cpp:24:43: error: no matching function for call to ‘std::vector<std::__cxx11::basic_string<char> >::erase(std::vector<std::__cxx11::basic_string<char> >::size_type)’ blynai.erase(blynai.size()); ^ In file included from /usr/include/c++/5/vector:64:0, from blynine.cpp:3: /usr/include/c++/5/bits/stl_vector.h:1146:7: note: candidate: std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator) [with _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = std::__cxx11::basic_string<char>*; std::vector<_Tp, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >; typename __gnu_cxx::__alloc_traits<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type>::const_pointer = const std::__cxx11::basic_string<char>*] erase(const_iterator __position) ^ /usr/include/c++/5/bits/stl_vector.h:1146:7: note: no known conversion for argument 1 from ‘std::vector<std::__cxx11::basic_string<char> >::size_type {aka long unsigned int}’ to ‘std::vector<std::__cxx11::basic_string<char> >::const_iterator {aka __gnu_cxx::__normal_iterator<const std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >}’ /usr/include/c++/5/bits/stl_vector.h:1173:7: note: candidate: std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator, std::vector<_Tp, _Alloc>::const_iterator) [with _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = std::__cxx11::basic_string<char>*; std::vector<_Tp, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >; typename __gnu_cxx::__alloc_traits<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type>::const_pointer = const std::__cxx11::basic_string<char>*] erase(const_iterator __first, const_iterator __last) ^ /usr/include/c++/5/bits/stl_vector.h:1173:7: note: candidate expects 2 arguments, 1 provided
nr. | result | time | message |
---|