fork download
  1. #include <iostream>
  2. #include <limits>
  3.  
  4.  
  5. int main() {
  6.  
  7. long long some_var = 2147483648 + 2147483648 + 2147483648;
  8. std::cout<<some_var<<"\n";
  9. std::cout<<std::numeric_limits<long long>::max()<<"\n";
  10. return 0;
  11. }
Success #stdin #stdout 0s 4380KB
stdin
Standard input is empty
stdout
6442450944
9223372036854775807