Borderou de evaluare (job #395300)

Utilizator AndreiDDiaconeasa Andrei AndreiD Data 12 februarie 2010 19:07:39
Problema Campion Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:19: error: 'camp' was not declared in this scope user.cpp:19: error: 'camp' was not declared in this scope user.cpp:19: error: initializer expression list treated as compound expression user.cpp:20: error: expected ',' or ';' before '{' token user.cpp: In function 'int main()': user.cpp:49: warning: unused variable 'ok' /usr/include/c++/4.2/bits/stl_algo.h: In function 'const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&, _Compare) [with _Tp = std::pair<int, int>, _Compare = int]': /usr/include/c++/4.2/bits/stl_algo.h:2795: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Size = int, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' user.cpp:34: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:125: error: '__comp' cannot be used as a function /usr/include/c++/4.2/bits/stl_algo.h:126: error: '__comp' cannot be used as a function /usr/include/c++/4.2/bits/stl_algo.h:128: error: '__comp' cannot be used as a function /usr/include/c++/4.2/bits/stl_algo.h:132: error: '__comp' cannot be used as a function /usr/include/c++/4.2/bits/stl_algo.h:134: error: '__comp' cannot be used as a function /usr/include/c++/4.2/bits/stl_algo.h: In function '_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, _Tp, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Tp = std::pair<int, int>, _Compare = int]': /usr/include/c++/4.2/bits/stl_algo.h:2795: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Size = int, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' user.cpp:34: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2278: error: '__comp' cannot be used as a function /usr/include/c++/4.2/bits/stl_algo.h:2281: error: '__comp' cannot be used as a function /usr/include/c++/4.2/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.2/bits/stl_algo.h:2457: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2868: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' user.cpp:34: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2382: error: '__comp' cannot be used as a function /usr/include/c++/4.2/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.2/bits/stl_algo.h:2591: instantiated from 'void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2782: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Size = int, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' user.cpp:34: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2501: error: '__comp' cannot be used as a function /usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Tp, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Tp = std::pair<int, int>, _Compare = int]': /usr/include/c++/4.2/bits/stl_algo.h:2388: instantiated from 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2457: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2868: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' user.cpp:34: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2330: error: '__comp' cannot be used as a function /usr/include/c++/4.2/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.2/bits/stl_heap.h:404: instantiated from 'void std::make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2499: instantiated from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2591: instantiated from 'void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2782: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Size = int, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' user.cpp:34: instantiated from here /usr/include/c++/4.2/bits/stl_heap.h:279: error: '__comp' cannot be used as a function /usr/include/c++/4.2/bits/stl_heap.h: In function 'void std::__push_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.2/bits/stl_heap.h:291: instantiated from '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.2/bits/stl_heap.h:404: instantiated from 'void std::make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]' /usr/include/c++/4.2/bits/stl_algo.h:2499: instantiated from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<int, int>*, _Compare = int]'

Ceva nu functioneaza?