Borderou de evaluare (job #2415375)
Utilizator | Data | 25 aprilie 2019 21:01:34 | |
---|---|---|---|
Problema | Palindrom3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void GetNextPalindrom()':
main.cpp:77:16: error: no matching function for call to 'std::vector<int>::resize()'
aux.resize()
^
In file included from /usr/include/c++/6/vector:64:0,
from /usr/include/c++/6/queue:61,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:86,
from main.cpp:1:
/usr/include/c++/6/bits/stl_vector.h:674:7: note: candidate: void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]
resize(size_type __new_size)
^~~~~~
/usr/include/c++/6/bits/stl_vector.h:674:7: note: candidate expects 1 argument, 0 provided
/usr/include/c++/6/bits/stl_vector.h:694:7: note: candidate: void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = int]
resize(size_type __new_size, const value_type& __x)
^~~~~~
/usr/include/c++/6/bits/stl_vector.h:694:7: note: candidate expects 2 arguments, 0 provided
main.cpp: In function 'void Solve()':
main.cpp:104:20: error: 'Modulo' was not declared in this scope
if (Modulo() == 0)
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !