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