Borderou de evaluare (job #571513)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Channels (clasa a 8-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 nov. 2020 12:35:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:18:28: error: ‘cazan’ was not declared in this scope
user.cpp: In function ‘int main()’:
user.cpp:29:29: error: no matching function for call to ‘std::vector<std::pair<int, int> >::push_back(int&)’
user.cpp:29:29: note: candidates are:
/usr/include/c++/4.6/bits/stl_vector.h:826:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >, std::vector<_Tp, _Alloc>::value_type = std::pair<int, int>]
/usr/include/c++/4.6/bits/stl_vector.h:826:7: note: no known conversion for argument 1 from ‘int’ to ‘const value_type& {aka const std::pair<int, int>&}’
/usr/include/c++/4.6/bits/stl_vector.h:839:7: note: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >, std::vector<_Tp, _Alloc>::value_type = std::pair<int, int>]
/usr/include/c++/4.6/bits/stl_vector.h:839:7: note: no known conversion for argument 1 from ‘int’ to ‘std::vector<std::pair<int, int> >::value_type&& {aka std::pair<int, int>&&}’
user.cpp:30:29: error: no matching function for call to ‘std::vector<std::pair<int, int> >::push_back(int&)’
user.cpp:30:29: note: candidates are:
/usr/include/c++/4.6/bits/stl_vector.h:826:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >, std::vector<_Tp, _Alloc>::value_type = std::pair<int, int>]
/usr/include/c++/4.6/bits/stl_vector.h:826:7: note: no known conversion for argument 1 from ‘int’ to ‘const value_type& {aka const std::pair<int, int>&}’
/usr/include/c++/4.6/bits/stl_vector.h:839:7: note: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >, std::vector<_Tp, _Alloc>::value_type = std::pair<int, int>]
/usr/include/c++/4.6/bits/stl_vector.h:839:7: note: no known conversion for argument 1 from ‘int’ to ‘std::vector<std::pair<int, int> >::value_type&& {aka std::pair<int, int>&&}’