Borderou de evaluare (job #120452)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Baloane (clasele 11-12) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 feb. 2015 19:37:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:10: error: reference to ‘vector’ is ambiguous
user.cpp:5:8: error: candidates are: struct vector
/usr/include/c++/4.6/bits/stl_vector.h:180:11: error: template<class _Tp, class _Alloc> class std::vector
user.cpp:10:19: error: reference to ‘vector’ is ambiguous
user.cpp:5:8: error: candidates are: struct vector
/usr/include/c++/4.6/bits/stl_vector.h:180:11: error: template<class _Tp, class _Alloc> class std::vector
user.cpp:10:27: error: expression list treated as compound expression in initializer [-fpermissive]
user.cpp:11:1: error: expected ‘,’ or ‘;’ before ‘{’ token
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::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = vector*, _Compare = bool]’:
/usr/include/c++/4.6/bits/stl_algo.h:2196:4: instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = vector*, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:5447:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = vector*, _Compare = bool]’
user.cpp:27:25: instantiated from here
/usr/include/c++/4.6/bits/stl_algo.h:2129:4: error: ‘__comp’ cannot be used as a function
/usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = vector*, _Compare = bool]’:
/usr/include/c++/4.6/bits/stl_algo.h:5295:7: instantiated from ‘void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = vector*, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:2301:8: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = vector*, _Size = int, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:5445:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = vector*, _Compare = bool]’
user.cpp:27:25: instantiated from here
/usr/include/c++/4.6/bits/stl_algo.h:1918:2: error: ‘__comp’ cannot be used as a function
/usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::__move_median_first(_Iterator, _Iterator, _Iterator, _Compare) [with _Iterator = vector*, _Compare = bool]’:
/usr/include/c++/4.6/bits/stl_algo.h:2264:7: instantiated from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = vector*, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = vector*, _Size = int, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:5445:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = vector*, _Compare = bool]’
user.cpp:27:25: instantiated from here
/usr/include/c++/4.6/bits/stl_algo.h:112:7: error: ‘__comp’ cannot be used as a function
/usr/include/c++/4.6/bits/stl_algo.h:114:4: error: ‘__comp’ cannot be used as a function
/usr/include/c++/4.6/bits/stl_algo.h:2264:7: instantiated from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = vector*, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = vector*, _Size = int, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:5445:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = vector*, _Compare = bool]’
user.cpp:27:25: instantiated from here
/usr/include/c++/4.6/bits/stl_algo.h:116:9: error: ‘__comp’ cannot be used as a function
/usr/include/c++/4.6/bits/stl_algo.h:119:12: error: ‘__comp’ cannot be used as a function
/usr/include/c++/4.6/bits/stl_algo.h:121:12: error: ‘__comp’ cannot be used as a function
/usr/include/c++/4.6/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, _Compare) [with _RandomAccessIterator = vector*, _Tp = vector, _Compare = bool]’:
/usr/include/c++/4.6/bits/stl_algo.h:2265:78: instantiated from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = vector*, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = vector*, _Size = int, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:5445:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = vector*, _Compare = bool]’
user.cpp:27:25: instantiated from here
/usr/include/c++/4.6/bits/stl_algo.h:2233:4: error: ‘__comp’ cannot be used as a function
/usr/include/c++/4.6/bits/stl_algo.h:2236:4: error: ‘__comp’ cannot be used as a function
/usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = vector*, _Compare = bool]’:
/usr/include/c++/4.6/bits/stl_algo.h:2137:6: instantiated from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = vector*, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:2196:4: instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = vector*, _Compare = bool]’
/usr/include/c++/4.6/bits/stl_algo.h:5447:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = vector*, _Compare = bool]’
user.cpp:27:25: instantiated from here
/usr/include/c++/4.6/bits/stl_algo.h:2087:7: error: ‘__comp’ cannot be used as a function
In file included from /usr/include/c++/4.6/bits/stl_algo.h:63:0,
from /usr/include/c++/4.6/algorithm:63,