0_0_36528853_12818.cpp: In function 'void pushUp(int)':
0_0_36528853_12818.cpp:58:15: error: no match for 'operator=' (operand types are 'std::deque<int>' and 'std::deque<long long int>')
tree[p].a = tmp;
^
0_0_36528853_12818.cpp:58:15: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:67,
from 0_0_36528853_12818.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:92:5: note: std::deque<_Tp, _Alloc>& std::deque<_Tp, _Alloc>::operator=(const std::deque<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]
deque<_Tp, _Alloc>::
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:92:5: note: no known conversion for argument 1 from 'std::deque<long long int>' to 'const std::deque<int>&'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:67,
from 0_0_36528853_12818.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:944:7: note: std::deque<_Tp, _Alloc>& std::deque<_Tp, _Alloc>::operator=(std::deque<_Tp, _Alloc>&&) [with _Tp = int; _Alloc = std::allocator<int>]
operator=(deque&& __x) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:944:7: note: no known conversion for argument 1 from 'std::deque<long long int>' to 'std::deque<int>&&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:965:7: note: std::deque<_Tp, _Alloc>& std::deque<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = int; _Alloc = std::allocator<int>]
operator=(initializer_list<value_type> __l)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:965:7: note: no known conversion for argument 1 from 'std::deque<long long int>' to 'std::initializer_list<int>'
|