Borderou de evaluare (job #466043)

Utilizator avatar gheorghita.pavel Gheorghita Pavel gheorghita.pavel IP ascuns
Problemă Reactivi (clasa a 9-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 4 apr. 2019 10:09:00 Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.6/algorithm:63:0, from /usr/include/c++/4.6/i686-linux-gnu/./bits/stdc++.h:64, from user.cpp:3: /usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’: user.cpp:18:16: 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:18:16: 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:18:16: 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:18:16: 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:18:16: 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:18:16: 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:18:16: 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:18:16: 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]’