Borderou de evaluare (job #563907)

Utilizator avatar davidandrei Cinca David Andrei davidandrei IP ascuns
Problemă Accesibil (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 4 sept. 2020 15:16:13 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:51:31: error: no matching function for call to ‘std::vector<int>::reserve()’ user.cpp:51:31: note: candidate is: /usr/include/c++/4.6/bits/vector.tcc:66:5: note: void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type) [with _Tp = int, _Alloc = std::allocator<int>, std::vector<_Tp, _Alloc>::size_type = unsigned int] /usr/include/c++/4.6/bits/vector.tcc:66:5: note: candidate expects 1 argument, 0 provided user.cpp:62:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:64:13: error: ‘ca’ was not declared in this scope