fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long long a=-2147483648;
  6. a=a*-1;
  7. cout << a << endl;
  8. cout << "sizeof long long: " << sizeof(long long) << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
-2147483648
sizeof long long: 8