bitset
int main(int argc, char *argV[]) {
ios::sync_with_stdio(false);
//cin.tie(0);
//cout.tie(0);
//cout << bitset<32>(5) << endl;
//000000000000000000000000000001010101001101数值转化为二进制;
//cout << bitset<sizeof(10) * 4>(6) << endl;
bitset<10> s("0101001101");
ull a = s.to_ullong();
cout<<a;
//333;
string aa = s.to_string();
coutt<<s;
coutt << s.count();
s.set(1);
coutt<<s;
s.reset(1);
coutt<<s;
coutt<<s.any();//1
coutt<<s.none();//0
coutt<<s.flip();
coutt<<s;
coutt<<s.flip(1);
coutt<<s[4];
}