Borderou de evaluare (job #2843317)

Utilizator raulandreipopRaul-Andrei Pop raulandreipop Data 2 februarie 2022 12:25:08
Problema Tort3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:77:31: error: invalid use of non-static member function 'std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::end() const [with _Key = fel; _Compare = std::less<fel>; _Alloc = std::allocator<fel>; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree<fel, fel, std::_Identity<fel>, std::less<fel>, std::allocator<fel> >::const_iterator]' 77 | for (it = ord.begin(); it != ord.end; it++) | ~~~^~~~~~~~~~ In file included from /usr/include/c++/10/set:61, from main.cpp:5: /usr/include/c++/10/bits/stl_set.h:353:7: note: declared here 353 | end() const _GLIBCXX_NOEXCEPT | ^~~ Non zero exit status: 1

Ceva nu functioneaza?