Borderou de evaluare (job #194691)
Utilizator | Data | 13 iunie 2008 08:00:26 | |
---|---|---|---|
Problema | Loto | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
user.cpp:15: error: expected ',' or '...' before '&' token
user.cpp:15: error: ISO C++ forbids declaration of 'lot' with no type
user.cpp: In member function 'bool cmp::operator()(int) const':
user.cpp:16: error: request for member 's' in 'a', which is of non-class type 'long int [102]'
user.cpp:16: error: 'b' was not declared in this scope
user.cpp: In function 'int main()':
user.cpp:26: error: 'OUT' was not declared in this scope
user.cpp:63: error: cannot convert 'FILE*' to 'const char*' for argument '1' to 'int printf(const char*, ...)'
/usr/include/c++/4.2/bits/stl_algo.h: In function 'const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&, _Compare) [with _Tp = type, _Compare = cmp]':
/usr/include/c++/4.2/bits/stl_algo.h:2795: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = type*, _Size = int, _Compare = cmp]'
/usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = type*, _Compare = cmp]'
user.cpp:45: instantiated from here
/usr/include/c++/4.2/bits/stl_algo.h:125: error: no match for call to '(cmp) (const type&, const type&)'
user.cpp:15: note: candidates are: bool cmp::operator()(int) const
/usr/include/c++/4.2/bits/stl_algo.h:126: error: no match for call to '(cmp) (const type&, const type&)'
user.cpp:15: note: candidates are: bool cmp::operator()(int) const
/usr/include/c++/4.2/bits/stl_algo.h:128: error: no match for call to '(cmp) (const type&, const type&)'
user.cpp:15: note: candidates are: bool cmp::operator()(int) const
/usr/include/c++/4.2/bits/stl_algo.h:132: error: no match for call to '(cmp) (const type&, const type&)'
user.cpp:15: note: candidates are: bool cmp::operator()(int) const
/usr/include/c++/4.2/bits/stl_algo.h:134: error: no match for call to '(cmp) (const type&, const type&)'
user.cpp:15: note: candidates are: bool cmp::operator()(int) const
/usr/include/c++/4.2/bits/stl_algo.h: In function '_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, _Tp, _Compare) [with _RandomAccessIterator = type*, _Tp = type, _Compare = cmp]':
/usr/include/c++/4.2/bits/stl_algo.h:2795: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = type*, _Size = int, _Compare = cmp]'
/usr/include/c++/4.2/bits/stl_algo.h:2866: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = type*, _Compare = cmp]'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !