Borderou de evaluare (job #316103)

Utilizator mathboyDragos-Alin Rotaru mathboy Data 18 mai 2009 13:20:27
Problema Int Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int cmp()': user.cpp:10: error: 'aux' was not declared in this scope user.cpp:10: error: 'i' was not declared in this scope user.cpp: In function 'void read()': user.cpp:18: warning: format '%lld' expects type 'long long int*', but argument 2 has type 'int*' user.cpp:18: warning: format '%lld' expects type 'long long int*', but argument 3 has type 'int*' user.cpp: In function 'int main()': user.cpp:26: error: 'i' was not declared in this scope /usr/include/c++/4.3/bits/stl_algo.h: In function 'const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&) [with _Tp = interval]': /usr/include/c++/4.3/bits/stl_algo.h:1919: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = interval*, _Size = int]' /usr/include/c++/4.3/bits/stl_algo.h:4783: instantiated from 'void std::sort(_RAIter, _RAIter) [with _RAIter = interval*]' user.cpp:25: instantiated from here /usr/include/c++/4.3/bits/stl_algo.h:93: error: no match for 'operator<' in '__a < __b' /usr/include/c++/4.3/bits/stl_algo.h:94: error: no match for 'operator<' in '__b < __c' /usr/include/c++/4.3/bits/stl_algo.h:96: error: no match for 'operator<' in '__a < __c' /usr/include/c++/4.3/bits/stl_algo.h:100: error: no match for 'operator<' in '__a < __c' /usr/include/c++/4.3/bits/stl_algo.h:102: error: no match for 'operator<' in '__b < __c' /usr/include/c++/4.3/bits/stl_algo.h: In function '_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, _Tp) [with _RandomAccessIterator = interval*, _Tp = interval]': /usr/include/c++/4.3/bits/stl_algo.h:1919: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = interval*, _Size = int]' /usr/include/c++/4.3/bits/stl_algo.h:4783: instantiated from 'void std::sort(_RAIter, _RAIter) [with _RAIter = interval*]' user.cpp:25: instantiated from here /usr/include/c++/4.3/bits/stl_algo.h:1860: error: no match for 'operator<' in '* __first < __pivot' /usr/include/c++/4.3/bits/stl_algo.h:1863: error: no match for 'operator<' in '__pivot < * __last' /usr/include/c++/4.3/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = interval*]': /usr/include/c++/4.3/bits/stl_algo.h:1829: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = interval*]' /usr/include/c++/4.3/bits/stl_algo.h:4785: instantiated from 'void std::sort(_RAIter, _RAIter) [with _RAIter = interval*]' user.cpp:25: instantiated from here /usr/include/c++/4.3/bits/stl_algo.h:1757: error: no match for 'operator<' in '__val < * __first' /usr/include/c++/4.3/bits/stl_algo.h: In function 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = interval*]': /usr/include/c++/4.3/bits/stl_algo.h:4634: instantiated from 'void std::partial_sort(_RAIter, _RAIter, _RAIter) [with _RAIter = interval*]' /usr/include/c++/4.3/bits/stl_algo.h:1907: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = interval*, _Size = int]' /usr/include/c++/4.3/bits/stl_algo.h:4783: instantiated from 'void std::sort(_RAIter, _RAIter) [with _RAIter = interval*]' user.cpp:25: instantiated from here /usr/include/c++/4.3/bits/stl_algo.h:1559: error: no match for 'operator<' in '* __i < * __first' /usr/include/c++/4.3/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Tp) [with _RandomAccessIterator = interval*, _Tp = interval]': /usr/include/c++/4.3/bits/stl_algo.h:1763: instantiated from 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = interval*]' /usr/include/c++/4.3/bits/stl_algo.h:1829: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = interval*]' /usr/include/c++/4.3/bits/stl_algo.h:4785: instantiated from 'void std::sort(_RAIter, _RAIter) [with _RAIter = interval*]' user.cpp:25: instantiated from here /usr/include/c++/4.3/bits/stl_algo.h:1718: error: no match for 'operator<' in '__val < * __next' /usr/include/c++/4.3/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp) [with _RandomAccessIterator = interval*, _Distance = int, _Tp = interval]': /usr/include/c++/4.3/bits/stl_heap.h:392: instantiated from 'void std::make_heap(_RAIter, _RAIter) [with _RAIter = interval*]' /usr/include/c++/4.3/bits/stl_algo.h:1557: instantiated from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = interval*]' /usr/include/c++/4.3/bits/stl_algo.h:4634: instantiated from 'void std::partial_sort(_RAIter, _RAIter, _RAIter) [with _RAIter = interval*]' /usr/include/c++/4.3/bits/stl_algo.h:1907: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = interval*, _Size = int]' /usr/include/c++/4.3/bits/stl_algo.h:4783: instantiated from 'void std::sort(_RAIter, _RAIter) [with _RAIter = interval*]' user.cpp:25: instantiated from here /usr/include/c++/4.3/bits/stl_heap.h:232: error: no match for 'operator<' in '*(__first + ((unsigned int)(((unsigned int)__secondChild) * 8u))) < *(__first + ((1u - ((unsigned int)__secondChild)) * 0xfffffffffffffffffffffffffffffff8u))' /usr/include/c++/4.3/bits/stl_heap.h: In function 'void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp) [with _RandomAccessIterator = interval*, _Distance = int, _Tp = interval]': /usr/include/c++/4.3/bits/stl_heap.h:244: instantiated from 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp) [with _RandomAccessIterator = interval*, _Distance = int, _Tp = interval]'

Ceva nu functioneaza?