Borderou de evaluare (job #3351955)
| Utilizator | Data | 22 aprilie 2026 18:53:03 | |
|---|---|---|---|
| Problema | Alee | 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:25:29: error: invalid use of member function 'constexpr std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::front() const [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; const_reference = const std::pair<int, int>&]' (did you forget the '()' ?)
25 | int i=coada.front.first();
| ~~~~~~^~~~~
| ()
main.cpp:26:29: error: invalid use of member function 'constexpr std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::front() const [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; const_reference = const std::pair<int, int>&]' (did you forget the '()' ?)
26 | int j=coada.front.second();
| ~~~~~~^~~~~
| ()
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
