Borderou de evaluare (job #457181)

Utilizator cahemanCasian Patrascanu caheman Data 18 mai 2010 16:02:01
Problema Bete2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:44:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:11: error: invalid types 'int[int]' for array subscript user.cpp:18: error: invalid types 'int[int]' for array subscript user.cpp:18: error: invalid types 'int[int]' for array subscript user.cpp:19: error: invalid types 'int[int]' for array subscript user.cpp:19: error: invalid types 'int[int]' for array subscript user.cpp:23: error: invalid types 'int[int]' for array subscript user.cpp:23: error: invalid types 'int[int]' for array subscript user.cpp:24: error: 'dr' was not declared in this scope user.cpp:26: error: 'st' was not declared in this scope user.cpp:34: error: invalid types 'int[int]' for array subscript user.cpp:34: error: invalid types 'int[int]' for array subscript user.cpp:34: error: expected `;' before ')' token user.cpp:37: error: 'st' was not declared in this scope user.cpp:34: error: label 'y' used but not defined /usr/include/c++/4.2/bits/stl_iterator_base_types.h: At global scope: /usr/include/c++/4.2/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<int>': /usr/include/c++/4.2/bits/stl_algo.h:2819: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]' user.cpp:12: instantiated from here /usr/include/c++/4.2/bits/stl_iterator_base_types.h:129: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_iterator_base_types.h:130: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_iterator_base_types.h:131: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_iterator_base_types.h:132: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_iterator_base_types.h:133: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = int, _Size = int]': /usr/include/c++/4.2/bits/stl_algo.h:2829: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]' user.cpp:12: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2758: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h:2758: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h:2758: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]': /usr/include/c++/4.2/bits/stl_algo.h:2438: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]' /usr/include/c++/4.2/bits/stl_algo.h:2831: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]' user.cpp:12: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2356: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h:2438: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]' /usr/include/c++/4.2/bits/stl_algo.h:2831: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]' user.cpp:12: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2355: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__unguarded_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]': /usr/include/c++/4.2/bits/stl_algo.h:2439: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]' /usr/include/c++/4.2/bits/stl_algo.h:2831: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]' user.cpp:12: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:2406: error: invalid type argument of 'unary *' /usr/include/c++/4.2/bits/stl_algo.h: In function 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]': /usr/include/c++/4.2/bits/stl_algo.h:2551: instantiated from 'void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]' /usr/include/c++/4.2/bits/stl_algo.h:2746: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = int, _Size = int]' /usr/include/c++/4.2/bits/stl_algo.h:2829: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = int]' user.cpp:12: instantiated from here

Ceva nu functioneaza?