Besmegeniai
- [1] 2017-12-16 15:07 (0)
- [2] 2017-12-16 15:09 (0)
- [3] 2017-12-16 15:12 (0)
- [4] 2017-12-16 15:13 (0)
- [5] 2017-12-16 15:14 (0)
- [6] 2017-12-16 15:15 (10)
- [7] 2017-12-16 15:21 (10)
- [8] 2017-12-16 15:48 (20)
- [9] 2017-12-16 16:05 (20)
- [10] 2017-12-31 21:53 (20)
- [11] 2017-12-31 21:55 (0)
- [12] 2017-12-31 21:58 (100)
Taškai: 0
Compile: FAIL
besmegeniai.cpp: In function ‘int main()’: besmegeniai.cpp:68:20: error: no match for ‘operator+’ (operand types are ‘std::vector<std::__cxx11::basic_string<char> >’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type {aka long unsigned int}’) sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/bits/stl_algobase.h:67:0, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/stl_iterator.h:334:5: note: candidate: template<class _Iterator> std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&) operator+(typename reverse_iterator<_Iterator>::difference_type __n, ^ /usr/include/c++/5/bits/stl_iterator.h:334:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type {aka long unsigned int}’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/bits/stl_algobase.h:67:0, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/stl_iterator.h:1152:5: note: candidate: template<class _Iterator> std::move_iterator<_Iterator> std::operator+(typename std::move_iterator<_Iterator>::difference_type, const std::move_iterator<_Iterator>&) operator+(typename move_iterator<_Iterator>::difference_type __n, ^ /usr/include/c++/5/bits/stl_iterator.h:1152:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: mismatched types ‘const std::move_iterator<_Iterator>’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type {aka long unsigned int}’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.h:4783:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, ^ /usr/include/c++/5/bits/basic_string.h:4783:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: ‘std::vector<std::__cxx11::basic_string<char> >’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:53:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.tcc:1151:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) operator+(const _CharT* __lhs, ^ /usr/include/c++/5/bits/basic_string.tcc:1151:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: mismatched types ‘const _CharT*’ and ‘std::vector<std::__cxx11::basic_string<char> >’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:53:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.tcc:1167:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) ^ /usr/include/c++/5/bits/basic_string.tcc:1167:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type {aka long unsigned int}’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.h:4820:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, ^ /usr/include/c++/5/bits/basic_string.h:4820:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: ‘std::vector<std::__cxx11::basic_string<char> >’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.h:4836:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT) operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs) ^ /usr/include/c++/5/bits/basic_string.h:4836:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: ‘std::vector<std::__cxx11::basic_string<char> >’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.h:4848:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, ^ /usr/include/c++/5/bits/basic_string.h:4848:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: ‘std::vector<std::__cxx11::basic_string<char> >’ is not derived from ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.h:4854:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, ^ /usr/include/c++/5/bits/basic_string.h:4854:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: ‘std::vector<std::__cxx11::basic_string<char> >’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.h:4860:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, ^ /usr/include/c++/5/bits/basic_string.h:4860:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: ‘std::vector<std::__cxx11::basic_string<char> >’ is not derived from ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.h:4872:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) operator+(const _CharT* __lhs, ^ /usr/include/c++/5/bits/basic_string.h:4872:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: mismatched types ‘const _CharT*’ and ‘std::vector<std::__cxx11::basic_string<char> >’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.h:4878:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) operator+(_CharT __lhs, ^ /usr/include/c++/5/bits/basic_string.h:4878:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type {aka long unsigned int}’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.h:4884:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _CharT*) operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, ^ /usr/include/c++/5/bits/basic_string.h:4884:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: ‘std::vector<std::__cxx11::basic_string<char> >’ is not derived from ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/basic_string.h:4890:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, _CharT) operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, ^ /usr/include/c++/5/bits/basic_string.h:4890:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: ‘std::vector<std::__cxx11::basic_string<char> >’ is not derived from ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ sort (ats, ats + ats.size()); ^ In file included from /usr/include/c++/5/vector:65:0, from /usr/include/c++/5/bits/random.h:34, from /usr/include/c++/5/random:49, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from besmegeniai.cpp:3: /usr/include/c++/5/bits/stl_bvector.h:297:3: note: candidate: std::_Bit_iterator std::operator+(std::ptrdiff_t, const std::_Bit_iterator&) operator+(ptrdiff_t __n, const _Bit_iterator& __x) ^ /usr/include/c++/5/bits/stl_bvector.h:297:3: note: no known conversion for argument 1 from ‘std::vector<std::__cxx11::basic_string<char> >’ to ‘std::ptrdiff_t {aka long int}’ /usr/include/c++/5/bits/stl_bvector.h:387:3: note: candidate: std::_Bit_const_iterator std::operator+(std::ptrdiff_t, const std::_Bit_const_iterator&) operator+(ptrdiff_t __n, const _Bit_const_iterator& __x) ^ /usr/include/c++/5/bits/stl_bvector.h:387:3: note: no known conversion for argument 1 from ‘std::vector<std::__cxx11::basic_string<char> >’ to ‘std::ptrdiff_t {aka long int}’ In file included from /usr/include/c++/5/bits/stl_algobase.h:67:0, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from besmegeniai.cpp:2: /usr/include/c++/5/bits/stl_iterator.h:930:5: note: candidate: template<class _Iterator, class _Container> __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::operator+(typename __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&) operator+(typename __normal_iterator<_Iterator, _Container>::difference_type ^ /usr/include/c++/5/bits/stl_iterator.h:930:5: note: template argument deduction/substitution failed: besmegeniai.cpp:68:31: note: mismatched types ‘const __gnu_cxx::__normal_iterator<_Iterator, _Container>’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type {aka long unsigned int}’ sort (ats, ats + ats.size()); ^
nr. | result | time | message |
---|