0_0_37837691_11198.cpp: In function 'void solve()':
0_0_37837691_11198.cpp:31:8: error: expected unqualified-id before '[' token
auto [dis, val, u] = h.top();
^
0_0_37837691_11198.cpp:33:6: error: 'dis' was not declared in this scope
if(dis > d[u]) continue;
^
0_0_37837691_11198.cpp:33:14: error: 'u' was not declared in this scope
if(dis > d[u]) continue;
^
0_0_37837691_11198.cpp:34:9: error: 'u' was not declared in this scope
if(vl[u] > val) continue;
^
0_0_37837691_11198.cpp:34:14: error: 'val' was not declared in this scope
if(vl[u] > val) continue;
^
0_0_37837691_11198.cpp:35:13: error: expected unqualified-id before '[' token
for (auto [v, ds, p] : adj[u]) {
^
0_0_37837691_11198.cpp:35:13: error: expected ';' before '[' token
0_0_37837691_11198.cpp:35:14: error: 'v' was not declared in this scope
for (auto [v, ds, p] : adj[u]) {
^
0_0_37837691_11198.cpp:35:17: error: 'ds' was not declared in this scope
for (auto [v, ds, p] : adj[u]) {
^
0_0_37837691_11198.cpp:35:21: error: 'p' was not declared in this scope
for (auto [v, ds, p] : adj[u]) {
^
0_0_37837691_11198.cpp: In lambda function:
0_0_37837691_11198.cpp:35:24: error: expected '{' before ':' token
for (auto [v, ds, p] : adj[u]) {
^
0_0_37837691_11198.cpp: In function 'void solve()':
0_0_37837691_11198.cpp:35:24: error: expected ';' before ':' token
0_0_37837691_11198.cpp:35:24: error: expected primary-expression before ':' token
0_0_37837691_11198.cpp:35:24: error: expected ')' before ':' token
0_0_37837691_11198.cpp:35:24: error: expected primary-expression before ':' token
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++allocator.h:33:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:46,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37837691_11198.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = node; _Args = {int, int, int}; _Tp = node]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:253:4: required from 'static std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::type> std::allocator_traits<_Alloc>::_S_construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = node; _Args = {int, int, int}; _Alloc = std::allocator<node>; std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::type> = void]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:399:57: required from 'static decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) std::allocator_traits<_Alloc>::construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = node; _Args = {int, int, int}; _Alloc = std::allocator<node>; decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) = <type error>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:97:40: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int, int, int}; _Tp = node; _Alloc = std::allocator<node>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:517:4: required from 'void std::priority_queue<_Tp, _Sequence, _Compare>::emplace(_Args&& ...) [with _Args = {int, int, int}; _Tp = node; _Sequence = std::vector<node, std::allocator<node> >; _Compare = std::less<node>]'
0_0_37837691_11198.cpp:29:19: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h:120:4: error: new initializer expression list treated as compound expression [-fpermissive]
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h:120:4: error: no matching function for call to 'node::node(int)'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h:120:4: note: candidates are:
0_0_37837691_11198.cpp:5:8: note: node::node()
struct node {
^
0_0_37837691_11198.cpp:5:8: note: candidate expects 0 arguments, 1 provided
0_0_37837691_11198.cpp:5:8: note: constexpr node::node(const node&)
0_0_37837691_11198.cpp:5:8: note: no known conversion for argument 1 from 'int' to 'const node&'
0_0_37837691_11198.cpp:5:8: note: constexpr node::node(node&&)
0_0_37837691_11198.cpp:5:8: note: no known conversion for argument 1 from 'int' to 'node&&'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37837691_11198.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h: In instantiation of 'bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = node]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:141:37: required from 'bool __gnu_cxx::__ops::_Iter_comp_val<_Compare>::operator()(_Iterator, _Value&) [with _Iterator = __gnu_cxx::__normal_iterator<node*, std::vector<node, std::allocator<node> > >; _Value = node; _Compare = std::less<node>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:129:76: required from 'void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<node*, std::vector<node, std::allocator<node> > >; _Distance = long long int; _Tp = node; _Compare = __gnu_cxx::__ops::_Iter_comp_val<std::less<node> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:201:51: required from 'void std::push_heap(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<node*, std::vector<node, std::allocator<node> > >; _Compare = std::less<node>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:518:43: required from 'void std::priority_queue<_Tp, _Sequence, _Compare>::emplace(_Args&& ...) [with _Args = {int, int, int}; _Tp = node; _Sequence = std::vector<node, std::allocator<node> >; _Compare = std::less<node>]'
0_0_37837691_11198.cpp:29:19: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: error: no match for 'operator<' (operand types are 'const node' and 'const node')
{ return __x < __y; }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37837691_11198.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:220:5: note: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:220:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/i
|