fork(3) download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. float f;
  6. while(fscanf(stdin,"%f%*f%*f",&f)==1) printf("%f\n",f);
  7. return 0;
  8. }
Success #stdin #stdout 0s 2900KB
stdin
1 456 54645
2 564 65756
3 5 76788
4 56765756 786
5 778678 76876
stdout
1.000000
2.000000
3.000000
4.000000
5.000000