fork(1) download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. for (int i = 0; i < 4; i++) {
  6. std::cout << i * 1000000000 << " " << i << std::endl;
  7. }
  8. }
Success #stdin #stdout 0s 2728KB
stdin
Standard input is empty
stdout
0 0
1000000000 1
2000000000 2
-1294967296 3