Borderou de evaluare (job #230239)
Utilizator | Data | 13 decembrie 2008 13:10:54 | |
---|---|---|---|
Problema | Desen | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
user.cpp:89:2: warning: no newline at end of file
user.cpp: In function 'int main()':
user.cpp:69: warning: format '%d' expects type 'int*', but argument 2 has type 'short int*'
user.cpp:69: warning: format '%d' expects type 'int*', but argument 3 has type 'short int*'
/usr/include/c++/4.2/bits/stl_algo.h: In function 'const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&, _Compare) [with _Tp = muchie, _Compare = int (*)(muchie&, muchie&)]':
/usr/include/c++/4.2/bits/stl_algo.h:2795: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = muchie*, _Size = int, _Compare = int (*)(muchie&, muchie&)]'
/usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = muchie*, _Compare = int (*)(muchie&, muchie&)]'
user.cpp:46: instantiated from here
/usr/include/c++/4.2/bits/stl_algo.h:125: error: invalid initialization of reference of type 'muchie&' from expression of type 'const muchie'
/usr/include/c++/4.2/bits/stl_algo.h:126: error: invalid initialization of reference of type 'muchie&' from expression of type 'const muchie'
/usr/include/c++/4.2/bits/stl_algo.h:128: error: invalid initialization of reference of type 'muchie&' from expression of type 'const muchie'
/usr/include/c++/4.2/bits/stl_algo.h:132: error: invalid initialization of reference of type 'muchie&' from expression of type 'const muchie'
/usr/include/c++/4.2/bits/stl_algo.h:134: error: invalid initialization of reference of type 'muchie&' from expression of type 'const muchie'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !