fork(1) download
  1. auto foo(int i) {
  2.  
  3. if( i == 1 )
  4. return i;
  5. else
  6. return foo(i-1)+i ;
  7. }
  8.  
  9. int main()
  10. {
  11.  
  12. }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty