fork(19) download
  1. #include <iostream>
  2. #include <bitset>
  3.  
  4. using namespace std;
  5.  
  6. int main(void)
  7. {
  8. unsigned long long n;
  9.  
  10. cin >> hex >> n;
  11.  
  12. cout << bitset<sizeof(n) * 8>(n) << endl;
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0.02s 2860KB
stdin
deadbeef
stdout
0000000000000000000000000000000011011110101011011011111011101111