Borderou de evaluare (job #1536586)
Utilizator | Data | 26 noiembrie 2015 13:44:35 | |
---|---|---|---|
Problema | Arbvalmax | 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:25:19: error: no matching function for call to ‘std::set<int>::end(int)’
g<<*fin.end(-1)<<" =maxim \n";
^
user.cpp:25:19: note: candidate is:
In file included from /usr/include/c++/4.8/set:61:0,
from user.cpp:2:
/usr/include/c++/4.8/bits/stl_set.h:307:7: note: std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::end() const [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<int>]
end() const _GLIBCXX_NOEXCEPT
^
/usr/include/c++/4.8/bits/stl_set.h:307:7: note: candidate expects 0 arguments, 1 provided
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !