fork(1) download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4.  
  5. void main()
  6. {
  7. float x, y;
  8. int t = scanf("%f", &x);
  9. if (t==1 && x!=0)
  10. {y = 7e-3*pow(x,4)+((22.8*cbrt(x)-1e3)*x+3)/(x*x/2)-x*pow((10+x),(2/x))-1.01;
  11. printf("%.1f\n", y);
  12. }
  13. else
  14. printf("n/a\n");
  15. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
n/a