Borderou de evaluare (job #314078)

Utilizator avatar superman2005 iosifescu dinu superman2005 IP ascuns
Problemă Ținta (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 25 sept. 2017 19:11:45 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:49:22: error: incompatible types in assignment of ‘int’ to ‘int [(((unsigned int)((int)n)) + 1)]’ user.cpp:52:21: error: no matching function for call to ‘sort(int (*)[(((unsigned int)((int)n)) + 1)], int (*)[(((unsigned int)((int)n)) + 1)])’ user.cpp:52:21: 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)