Didesnis - gudresnis?

Taškai: 0

Compile: FAIL

drambliai.cpp: In function ‘int main()’: drambliai.cpp:49:20: error: no matching function for call to ‘std::vector<elep>::push_back(<brace-enclosed initializer list>)’ 49 | a.push_back({x.first, x.second}); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/vector:67, from /usr/include/c++/11/queue:61, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86, from drambliai.cpp:1: /usr/include/c++/11/bits/stl_vector.h:1187:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = elep; _Alloc = std::allocator<elep>; std::vector<_Tp, _Alloc>::value_type = elep]’ 1187 | push_back(const value_type& __x) | ^~~~~~~~~ /usr/include/c++/11/bits/stl_vector.h:1187:35: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const value_type&’ {aka ‘const elep&’} 1187 | push_back(const value_type& __x) | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/11/bits/stl_vector.h:1203:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = elep; _Alloc = std::allocator<elep>; std::vector<_Tp, _Alloc>::value_type = elep]’ 1203 | push_back(value_type&& __x) | ^~~~~~~~~ /usr/include/c++/11/bits/stl_vector.h:1203:30: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::vector<elep>::value_type&&’ {aka ‘elep&&’} 1203 | push_back(value_type&& __x) | ~~~~~~~~~~~~~^~~

nr.resulttimemessage