Borderou de evaluare (job #122305)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Culori (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 feb. 2015 17:14:28 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:18: error: no matching function for call to ‘sort(int&, int [101], int&)’
user.cpp:14:18: note: candidates are:
/usr/include/c++/4.6/bits/stl_algo.h:5394:5: note: template<class _RAIter> void std::sort(_RAIter, _RAIter)
/usr/include/c++/4.6/bits/stl_algo.h:5430:5: note: template<class _RAIter, class _Compare> void std::sort(_RAIter, _RAIter, _Compare)
user.cpp:16:5: error: expected ‘;’ before ‘for’
user.cpp:16:17: warning: statement has no effect [-Wunused-value]
user.cpp:16:22: error: expected ‘;’ before ‘)’ token
user.cpp:10:14: warning: unused variable ‘aux’ [-Wunused-variable]