fork(3) download
  1. f(n){n=n*n+1>>1;}
  2.  
  3. main(j){for(j=1;j<10;j++)printf("%d\n",f(j));}
Success #stdin #stdout 0s 10320KB
stdin
Standard input is empty
stdout
0
0
0
0
0
0
0
0
0