Borderou de evaluare (job #372689)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Convex (clasa a 8-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 mar. 2018 19:49:18 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:9: error: ‘pereche’ was not declared in this scope
user.cpp:10:19: error: ‘pereche’ was not declared in this scope
user.cpp:10:28: error: expression list treated as compound expression in initializer [-fpermissive]
user.cpp:10:29: error: expected ‘,’ or ‘;’ before ‘{’ token
user.cpp: In function ‘int dfs(int, int)’:
user.cpp:31:33: warning: no return statement in function returning non-void [-Wreturn-type]
In file included from /usr/include/c++/4.6/algorithm:63:0,
from user.cpp:4:
/usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]’:
/usr/include/c++/4.6/bits/stl_algo.h:2196:4: instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:5447:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::pair<int, int>*, _Compare = int]’
user.cpp:86:27: 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 = std::pair<int, int>*, _Compare = int]’:
/usr/include/c++/4.6/bits/stl_algo.h:5295:7: instantiated from ‘void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = std::pair<int, int>*, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:2301:8: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Size = int, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:5445:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::pair<int, int>*, _Compare = int]’
user.cpp:86:27: 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 = std::pair<int, int>*, _Compare = int]’:
/usr/include/c++/4.6/bits/stl_algo.h:2264:7: instantiated from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Size = int, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:5445:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::pair<int, int>*, _Compare = int]’
user.cpp:86:27: 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 = std::pair<int, int>*, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Size = int, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:5445:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::pair<int, int>*, _Compare = int]’
user.cpp:86:27: 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 = std::pair<int, int>*, _Tp = std::pair<int, int>, _Compare = int]’:
/usr/include/c++/4.6/bits/stl_algo.h:2265:78: instantiated from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Size = int, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:5445:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::pair<int, int>*, _Compare = int]’
user.cpp:86:27: 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 = std::pair<int, int>*, _Compare = int]’:
/usr/include/c++/4.6/bits/stl_algo.h:2137:6: instantiated from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:2196:4: instantiated from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]’
/usr/include/c++/4.6/bits/stl_algo.h:5447:4: instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::pair<int, int>*, _Compare = int]’
user.cpp:86:27: 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/queue:63:0,
from user.cpp:3:
/usr/include/c++/4.6/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Distance = int, _Tp = std::pair<int, int>, _Compare = int]’:
/usr/include/c++/4.6/bits/stl_heap.h:436:4: instantiated from ‘void std::make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]’