fork download
  1. #include <cstdio>
  2.  
  3. int main() {
  4. long long L = 1;
  5. printf( "%lld\n", 1ll * 1000 * 1000 * 1000 * 1000 );
  6. printf( "%lld\n", L * 1000 * 1000 * 1000 * 1000 );
  7. printf( "%lld\n", 1000 * 1000 * 1000 * 1000 * L );
  8. printf( "%lld\n", 1000 * 1000 * 1000 * 1000 * 1ll);
  9.  
  10. printf( "%d", -2 % 5 );
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
1000000000000
1000000000000
-727379968
-727379968
-2