Borderou de evaluare (job #611112)

Utilizator Sanduleac_VladSanduleac Vllad Alexandru Sanduleac_Vlad Data 30 august 2011 18:43:13
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:70:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:45: warning: unused variable 'i1' user.cpp:45: warning: unused variable 'd' /usr/include/c++/4.2/bits/stl_iterator_base_types.h: At global scope: /usr/include/c++/4.2/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<double>': /usr/include/c++/4.2/bits/stl_algo.h:2819: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' user.cpp:56: instantiated from here /usr/include/c++/4.2/bits/stl_iterator_base_types.h:129: error: 'double' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_iterator_base_types.h:130: error: 'double' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_iterator_base_types.h:131: error: 'double' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_iterator_base_types.h:132: error: 'double' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_iterator_base_types.h:133: error: 'double' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_algo.h: In function '_Size std::__lg(_Size) [with _Size = double]': /usr/include/c++/4.2/bits/stl_algo.h:2829: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' user.cpp:56: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2515: error: invalid operands of types 'double' and 'int' to binary 'operator>>' /usr/include/c++/4.2/bits/stl_algo.h:2515: error: in evaluation of 'operator>>=(double, int)' /usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = double, _Size = double]': /usr/include/c++/4.2/bits/stl_algo.h:2829: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' user.cpp:56: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2758: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h:2758: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h:2758: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]': /usr/include/c++/4.2/bits/stl_algo.h:2438: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' /usr/include/c++/4.2/bits/stl_algo.h:2831: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' user.cpp:56: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2356: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h:2438: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' /usr/include/c++/4.2/bits/stl_algo.h:2831: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' user.cpp:56: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2355: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__unguarded_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]': /usr/include/c++/4.2/bits/stl_algo.h:2439: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' /usr/include/c++/4.2/bits/stl_algo.h:2831: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' user.cpp:56: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2406: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]': /usr/include/c++/4.2/bits/stl_algo.h:2551: instantiated from 'void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' /usr/include/c++/4.2/bits/stl_algo.h:2746: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = double, _Size = double]' /usr/include/c++/4.2/bits/stl_algo.h:2829: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' user.cpp:56: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2481: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h:2481: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h:2482: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_heap.h: In function 'void std::pop_heap(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]': /usr/include/c++/4.2/bits/stl_heap.h:433: instantiated from 'void std::sort_heap(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' /usr/include/c++/4.2/bits/stl_algo.h:2552: instantiated from 'void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = double]' /usr/include/c++/4.2/bits/stl_algo.h:2746: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = double, _Size = double]'

Ceva nu functioneaza?