c++ bitset 10进制转二进制
#include <bitset> using namespace std; void main() { int a; cin>>a; cout<<bitset<8>(a)<<endl; }
Never waste time any more, Never old man be a yong man
#include <bitset> using namespace std; void main() { int a; cin>>a; cout<<bitset<8>(a)<<endl; }