📅  最后修改于: 2022-03-11 14:44:51.851000             🧑  作者: Mango
#include
using namespace std;
int main(void){
bitset<8> bits("1000");
int ab = bits.to_ulong();
cout << ab << "\n";
return 0;
}