fork(1) download
  1. #include <iostream>
  2. #include <limits>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. long long ll = 2 * 1024 * 1024 * 1024ll;
  9. unsigned long long ull = 2 * 1024 * 1024 * 1024ull;
  10. std::cout << ll << "\n" << ull;
  11. }
Success #stdin #stdout 0s 4844KB
stdin
Standard input is empty
stdout
2147483648
2147483648