fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int c = 1;
  7. std::cout << (c/c++) << std::endl;
  8. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
2