Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- array.cpp: В функции «void radixSort(const std::vector<int>&, int, const std::vector<int>&, std::vector<int>&, int)»:
- array.cpp:58:35: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
- array.cpp:65:35: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
- array.cpp: В функции «void sanders(std::vector<int>&, std::vector<int>&, int)»:
- array.cpp:84:36: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
- array.cpp:85:29: ошибка: no match for «operator=» in «v.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<std::vector<int>, int>, _Alloc = std::allocator<std::pair<std::vector<int>, int> >, std::vector<_Tp, _Alloc>::reference = std::pair<std::vector<int>, int>&, std::vector<_Tp, _Alloc>::size_type = long unsigned int](((long unsigned int)i)).std::pair<std::vector<int>, int>::first = (& s)->std::vector<_Tp, _Alloc>::operator[] [with _Tp = int, _Alloc = std::allocator<int>, std::vector<_Tp, _Alloc>::reference = int&, std::vector<_Tp, _Alloc>::size_type = long unsigned int](((long unsigned int)i))»
- array.cpp:85:29: замечание: candidate is:
- /usr/include/c++/4.6/bits/vector.tcc:158:5: замечание: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator<int>]
- /usr/include/c++/4.6/bits/vector.tcc:158:5: замечание: no known conversion for argument 1 from «int» to «const std::vector<int>&»
- array.cpp:89:36: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
- array.cpp:120:70: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
- array.cpp:137:35: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
- array.cpp:148:35: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
- array.cpp:160:35: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
- array.cpp: В функции «int main()»:
- array.cpp:223:34: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
- In file included from /usr/include/c++/4.6/algorithm:63:0,
- from array.cpp:7:
- /usr/include/c++/4.6/bits/stl_algo.h: В функции «void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
- /usr/include/c++/4.6/bits/stl_algo.h:2196:4: instantiated from «void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:5370:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- array.cpp:88:37: instantiated from here
- /usr/include/c++/4.6/bits/stl_algo.h:2129:4: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
- /usr/include/c++/4.6/bits/stl_algo.h: В функции «void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
- /usr/include/c++/4.6/bits/stl_algo.h:5218:7: instantiated from «void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:2301:8: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- array.cpp:88:37: instantiated from here
- /usr/include/c++/4.6/bits/stl_algo.h:1918:2: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
- /usr/include/c++/4.6/bits/stl_algo.h: В функции «void std::__move_median_first(_Iterator, _Iterator, _Iterator, _Compare) [with _Iterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
- /usr/include/c++/4.6/bits/stl_algo.h:2264:7: instantiated from «_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- array.cpp:88:37: instantiated from here
- /usr/include/c++/4.6/bits/stl_algo.h:112:7: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
- /usr/include/c++/4.6/bits/stl_algo.h:114:4: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
- /usr/include/c++/4.6/bits/stl_algo.h:2264:7: instantiated from «_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- array.cpp:88:37: instantiated from here
- /usr/include/c++/4.6/bits/stl_algo.h:116:9: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
- /usr/include/c++/4.6/bits/stl_algo.h:119:12: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
- /usr/include/c++/4.6/bits/stl_algo.h:121:12: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
- /usr/include/c++/4.6/bits/stl_algo.h: В функции «_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Tp = std::pair<std::vector<int>, int>, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
- /usr/include/c++/4.6/bits/stl_algo.h:2265:78: instantiated from «_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- array.cpp:88:37: instantiated from here
- /usr/include/c++/4.6/bits/stl_algo.h:2233:4: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
- /usr/include/c++/4.6/bits/stl_algo.h:2236:4: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «const std::pair<std::vector<int>, int>»
- /usr/include/c++/4.6/bits/stl_algo.h: В функции «void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
- /usr/include/c++/4.6/bits/stl_algo.h:2137:6: instantiated from «void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:2196:4: instantiated from «void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:5370:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- array.cpp:88:37: instantiated from here
- /usr/include/c++/4.6/bits/stl_algo.h:2087:7: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::iterator_traits<__gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > > >::value_type {aka std::pair<std::vector<int>, int>}»
- In file included from /usr/include/c++/4.6/bits/stl_algo.h:63:0,
- from /usr/include/c++/4.6/algorithm:63,
- from array.cpp:7:
- /usr/include/c++/4.6/bits/stl_heap.h: В функции «void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Distance = long int, _Tp = std::pair<std::vector<int>, int>, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
- /usr/include/c++/4.6/bits/stl_heap.h:436:4: instantiated from «void std::make_heap(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:1916:7: instantiated from «void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:5218:7: instantiated from «void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:2301:8: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- array.cpp:88:37: instantiated from here
- /usr/include/c++/4.6/bits/stl_heap.h:305:4: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
- /usr/include/c++/4.6/bits/stl_heap.h: В функции «void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Distance = long int, _Tp = std::pair<std::vector<int>, int>, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
- /usr/include/c++/4.6/bits/stl_heap.h:318:7: instantiated from «void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Distance = long int, _Tp = std::pair<std::vector<int>, int>, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_heap.h:436:4: instantiated from «void std::make_heap(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:1916:7: instantiated from «void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:5218:7: instantiated from «void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:2301:8: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
- array.cpp:88:37: instantiated from here
- /usr/include/c++/4.6/bits/stl_heap.h:182:7: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
- array.cpp: В функции «int main()»:
- array.cpp:217:41: предупреждение: ignoring return value of «FILE* freopen(const char*, const char*, FILE*)», declared with attribute warn_unused_result [-Wunused-result]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement