0_0_30273357_20031.cpp: In function 'int main()':
0_0_30273357_20031.cpp:44:28: error: no matching function for call to 'std::vector<std::pair<int, int> >::emplace_back(<brace-enclosed initializer list>)'
G[x].emplace_back({y, z});
^
0_0_30273357_20031.cpp:44:28: note: candidate is:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:69:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_30273357_20031.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:91:7: note: void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {}; _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >]
vector<_Tp, _Alloc>::
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:91:7: note: candidate expects 0 arguments, 1 provided
0_0_30273357_20031.cpp:45:28: error: no matching function for call to 'std::vector<std::pair<int, int> >::emplace_back(<brace-enclosed initializer list>)'
G[y].emplace_back({x, z});
^
0_0_30273357_20031.cpp:45:28: note: candidate is:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:69:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_30273357_20031.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:91:7: note: void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {}; _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >]
vector<_Tp, _Alloc>::
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:91:7: note: candidate expects 0 arguments, 1 provided
|