fork(2) download
  1. #include <iostream>
  2. #include <cstdint>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. int32_t x = -2'000'000'000;
  8. cout << x << " + " << x << " = " << (x + x) << '\n';
  9. return 0;
  10. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
-2000000000 + -2000000000 = 294967296