Contact: aviboots(AT)netvision.net.il
39,870 questions
51,793 answers
573 users
#include <bits/stdc++.h> using namespace std; int main() { bitset<6> bs(string("100100")); if (bs.test(2)) cout << "yes"; else cout << "no"; return 0; } /* run: yes */