Borderou de evaluare (job #228581)

Utilizator avatar cyg_ieeu Vasile Radu cyg_ieeu IP ascuns
Problemă Adunare Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 28 mar. 2016 16:43:55 Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.6/algorithm:63:0, from user.cpp:2: /usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’: user.cpp:33:17: instantiated from here /usr/include/c++/4.6/bits/stl_algo.h:5397:2: error: no type named ‘value_type’ in ‘struct std::iterator_traits<int>’ /usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::partial_sort(_RAIter, _RAIter, _RAIter) [with _RAIter = int]’: /usr/include/c++/4.6/bits/stl_algo.h:2279:8: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = int, _Size = int]’ /usr/include/c++/4.6/bits/stl_algo.h:5407:4: instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ user.cpp:33:17: instantiated from here /usr/include/c++/4.6/bits/stl_algo.h:5245:2: error: no type named ‘value_type’ in ‘struct std::iterator_traits<int>’ /usr/include/c++/4.6/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]’: /usr/include/c++/4.6/bits/stl_algo.h:2284:54: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = int, _Size = int]’ /usr/include/c++/4.6/bits/stl_algo.h:5407:4: instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ user.cpp:33:17: instantiated from here /usr/include/c++/4.6/bits/stl_algo.h:2253:70: error: invalid type argument of unary ‘*’ (have ‘int’) /usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]’: /usr/include/c++/4.6/bits/stl_algo.h:2181:4: instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]’ /usr/include/c++/4.6/bits/stl_algo.h:5409:4: instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ user.cpp:33:17: instantiated from here /usr/include/c++/4.6/bits/stl_algo.h:2107:4: error: invalid type argument of unary ‘*’ (have ‘int’) /usr/include/c++/4.6/bits/stl_algo.h:2107:4: error: invalid type argument of unary ‘*’ (have ‘int’) /usr/include/c++/4.6/bits/stl_algo.h:2110:3: error: no type named ‘value_type’ in ‘struct std::iterator_traits<int>’ /usr/include/c++/4.6/bits/stl_algo.h:2181:4: instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]’ /usr/include/c++/4.6/bits/stl_algo.h:5409:4: instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ user.cpp:33:17: instantiated from here /usr/include/c++/4.6/bits/stl_algo.h:2110:3: error: no type named ‘value_type’ in ‘struct std::iterator_traits<int>’ /usr/include/c++/4.6/bits/stl_algo.h:2112:8: error: invalid type argument of unary ‘*’ (have ‘int’) /usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::__unguarded_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]’: /usr/include/c++/4.6/bits/stl_algo.h:2182:4: instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]’ /usr/include/c++/4.6/bits/stl_algo.h:5409:4: instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ user.cpp:33:17: instantiated from here /usr/include/c++/4.6/bits/stl_algo.h:2148:2: error: no type named ‘value_type’ in ‘struct std::iterator_traits<int>’ /usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]’: /usr/include/c++/4.6/bits/stl_algo.h:5254:7: instantiated from ‘void std::partial_sort(_RAIter, _RAIter, _RAIter) [with _RAIter = int]’ /usr/include/c++/4.6/bits/stl_algo.h:2279:8: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = int, _Size = int]’ /usr/include/c++/4.6/bits/stl_algo.h:5407:4: instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ user.cpp:33:17: instantiated from here /usr/include/c++/4.6/bits/stl_algo.h:1905:2: error: invalid type argument of unary ‘*’ (have ‘int’) /usr/include/c++/4.6/bits/stl_algo.h:1905:2: error: invalid type argument of unary ‘*’ (have ‘int’) /usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::__move_median_first(_Iterator, _Iterator, _Iterator) [with _Iterator = int]’: /usr/include/c++/4.6/bits/stl_algo.h:2252:7: instantiated from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]’ /usr/include/c++/4.6/bits/stl_algo.h:2284:54: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = int, _Size = int]’ /usr/include/c++/4.6/bits/stl_algo.h:5407:4: instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ user.cpp:33:17: instantiated from here /usr/include/c++/4.6/bits/stl_algo.h:86:7: error: invalid type argument of unary ‘*’ (have ‘int’) /usr/include/c++/4.6/bits/stl_algo.h:86:7: error: invalid type argument of unary ‘*’ (have ‘int’) /usr/include/c++/4.6/bits/stl_algo.h:88:4: error: invalid type argument of unary ‘*’ (have ‘int’) /usr/include/c++/4.6/bits/stl_algo.h:88:4: error: invalid type argument of unary ‘*’ (have ‘int’) /usr/include/c++/4.6/bits/stl_algo.h:2252:7: instantiated from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]’ /usr/include/c++/4.6/bits/stl_algo.h:2284:54: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = int, _Size = int]’