fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long long x = 1LL << 59;
  6. cout << ((double) (x) == (double) (x - 1)) << endl;
  7. }
Success #stdin #stdout 0s 4512KB
stdin
Standard input is empty
stdout
1