Borderou de evaluare (job #860716)

Utilizator alexalghisiAlghisi Alessandro Paolo alexalghisi Data 20 ianuarie 2013 18:08:29
Problema Retele Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.4/algorithm:62, from user.cpp:5: /usr/include/c++/4.4/bits/stl_algo.h: In function ‘const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&, _Compare) [with _Tp = std::vector<short unsigned int, std::allocator<short unsigned int> >, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’: /usr/include/c++/4.4/bits/stl_algo.h:2301: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Size = int, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:5258: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ user.cpp:75: instantiated from here /usr/include/c++/4.4/bits/stl_algo.h:124: error: conversion from ‘const std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested /usr/include/c++/4.4/bits/stl_algo.h:125: error: conversion from ‘const std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested /usr/include/c++/4.4/bits/stl_algo.h:127: error: conversion from ‘const std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested /usr/include/c++/4.4/bits/stl_algo.h:131: error: conversion from ‘const std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested /usr/include/c++/4.4/bits/stl_algo.h:133: error: conversion from ‘const std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested /usr/include/c++/4.4/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, _Tp, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Tp = std::vector<short unsigned int, std::allocator<short unsigned int> >, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’: /usr/include/c++/4.4/bits/stl_algo.h:2301: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Size = int, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:5258: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ user.cpp:75: instantiated from here /usr/include/c++/4.4/bits/stl_algo.h:2230: error: conversion from ‘std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested /usr/include/c++/4.4/bits/stl_algo.h:2233: error: conversion from ‘std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested /usr/include/c++/4.4/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’: /usr/include/c++/4.4/bits/stl_algo.h:2193: instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:5260: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ user.cpp:75: instantiated from here /usr/include/c++/4.4/bits/stl_algo.h:2128: error: conversion from ‘std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested /usr/include/c++/4.4/bits/stl_algo.h: In function ‘void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’: /usr/include/c++/4.4/bits/stl_algo.h:5108: instantiated from ‘void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:2288: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Size = int, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:5258: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ user.cpp:75: instantiated from here /usr/include/c++/4.4/bits/stl_algo.h:1919: error: conversion from ‘std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested /usr/include/c++/4.4/bits/stl_algo.h: In function ‘void std::__unguarded_linear_insert(_RandomAccessIterator, _Tp, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Tp = std::vector<short unsigned int, std::allocator<short unsigned int> >, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’: /usr/include/c++/4.4/bits/stl_algo.h:2134: instantiated from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:2193: instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:5260: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ user.cpp:75: instantiated from here /usr/include/c++/4.4/bits/stl_algo.h:2084: error: conversion from ‘std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested In file included from /usr/include/c++/4.4/bits/stl_algo.h:62, from /usr/include/c++/4.4/algorithm:62, from user.cpp:5: /usr/include/c++/4.4/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Distance = int, _Tp = std::vector<short unsigned int, std::allocator<short unsigned int> >, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’: /usr/include/c++/4.4/bits/stl_heap.h:434: instantiated from ‘void std::make_heap(_RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:1917: instantiated from ‘void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:5108: instantiated from ‘void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:2288: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Size = int, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:5258: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ user.cpp:75: instantiated from here /usr/include/c++/4.4/bits/stl_heap.h:303: error: conversion from ‘std::vector<short unsigned int, std::allocator<short unsigned int> >’ to non-scalar type ‘std::vector<int, std::allocator<int> >’ requested /usr/include/c++/4.4/bits/stl_heap.h: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Distance = int, _Tp = std::vector<short unsigned int, std::allocator<short unsigned int> >, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’: /usr/include/c++/4.4/bits/stl_heap.h:316: instantiated from ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Distance = int, _Tp = std::vector<short unsigned int, std::allocator<short unsigned int> >, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_heap.h:434: instantiated from ‘void std::make_heap(_RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:1917: instantiated from ‘void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’ /usr/include/c++/4.4/bits/stl_algo.h:5108: instantiated from ‘void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = std::vector<short unsigned int, std::allocator<short unsigned int> >*, _Compare = bool (*)(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)]’

Ceva nu functioneaza?