Borderou de evaluare (job #1641914)
Utilizator | Data | 9 martie 2016 11:38:43 | |
---|---|---|---|
Problema | Pluton | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:18: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(y[n]==y[n-1])
^
In file included from /usr/include/c++/4.8/algorithm:62:0,
from user.cpp:3:
/usr/include/c++/4.8/bits/stl_algo.h: In instantiation of ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’:
user.cpp:26:26: required from here
/usr/include/c++/4.8/bits/stl_algo.h:5464:2: error: no type named ‘value_type’ in ‘struct std::iterator_traits<int>’
_ValueType;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !