Borderou de evaluare (job #1064262)
Utilizator | Data | 21 decembrie 2013 18:14:46 | |
---|---|---|---|
Problema | Permut | 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:22:12: error: cannot convert ‘std::priority_queue<_Tp, _Sequence, _Compare>::empty<int, std::vector<int, std::allocator<int> >, std::less<int> >’ from type ‘bool (std::priority_queue<int>::)()const’ to type ‘bool’
while (!a.empty){
^
user.cpp:22:12: error: in argument to unary !
user.cpp:25:5: error: cannot convert ‘std::priority_queue<_Tp, _Sequence, _Compare>::top<int, std::vector<int, std::allocator<int> >, std::less<int> >’ from type ‘const value_type& (std::priority_queue<int>::)()const {aka const int& (std::priority_queue<int>::)()const}’ to type ‘int’
y = b.top;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !