#include #include int main(){ using namespace std; vector vb; vb.push_back(true); vb.push_back(true); vb.push_back(false); vb.push_back(false); vb.push_back(false); vb.push_back(true); for(auto be: vb) cout << be; // 110001 }