fork(3) download
  1. #include <cstdio>
  2.  
  3. int main() {
  4. long int test;
  5. scanf( "%ld", &test );
  6. printf( "%ld\n", test );
  7. scanf( "%lld", &test );
  8. printf( "%lld\n", test );
  9. return 0;
  10. }
Success #stdin #stdout 0s 3300KB
stdin
4000000000
4000000000
stdout
2147483647
-4625164120018442240