Borderou de evaluare (job #563906)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Accesibil (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 sept. 2020 15:14:38 | 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:52:5: error: expected ‘;’ before ‘int’
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
user.cpp:65:13: error: ‘predcif’ was not declared in this scope
user.cpp:71:21: error: ‘cntok’ was not declared in this scope
user.cpp:72:22: error: ‘cntok’ was not declared in this scope
user.cpp:76:16: error: ‘cntok’ was not declared in this scope
user.cpp:54:9: warning: unused variable ‘precif’ [-Wunused-variable]