0_0_26651952_5987.cpp: In function 'void dfs(int)':
0_0_26651952_5987.cpp:49:37: error: could not convert 'bt[root]' from 'std::bitset<110005ull>' to 'std::bitset<100005ull>'
bt[root] = getdp(root,-1,bt[root]);
^
0_0_26651952_5987.cpp: In function 'int main()':
0_0_26651952_5987.cpp:88:40: error: no match for 'operator|=' (operand types are 'std::bitset<100005ull>' and 'std::bitset<110005ull>')
for(int i = 1;i <= n;i ++) ans |= bt[i];
^
0_0_26651952_5987.cpp:88:40: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:65:0,
from 0_0_26651952_5987.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bitset:972:7: note: std::bitset<_Nb>& std::bitset<_Nb>::operator|=(const std::bitset<_Nb>&) [with long long unsigned int _Nb = 100005ull]
operator|=(const bitset<_Nb>& __rhs) _GLIBCXX_NOEXCEPT
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bitset:972:7: note: no known conversion for argument 1 from 'std::bitset<110005ull>' to 'const std::bitset<100005ull>&'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42:0,
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_26651952_5987.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:91:3: note: const std::_Ios_Fmtflags& std::operator|=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)
operator|=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:91:3: note: no known conversion for argument 1 from 'std::bitset<100005ull>' to 'std::_Ios_Fmtflags&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:131:3: note: const std::_Ios_Openmode& std::operator|=(std::_Ios_Openmode&, std::_Ios_Openmode)
operator|=(_Ios_Openmode& __a, _Ios_Openmode __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:131:3: note: no known conversion for argument 1 from 'std::bitset<100005ull>' to 'std::_Ios_Openmode&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:169:3: note: const std::_Ios_Iostate& std::operator|=(std::_Ios_Iostate&, std::_Ios_Iostate)
operator|=(_Ios_Iostate& __a, _Ios_Iostate __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:169:3: note: no known conversion for argument 1 from 'std::bitset<100005ull>' to 'std::_Ios_Iostate&'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:103:0,
from 0_0_26651952_5987.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/future:156:18: note: std::launch& std::operator|=(std::launch&, std::launch)
inline launch& operator|=(launch& __x, launch __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/future:156:18: note: no known conversion for argument 1 from 'std::bitset<100005ull>' to 'std::launch&'
|