fork(1) download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. double fun();
  5.  
  6. int main() {
  7. double res = fun();
  8. double g;
  9. g = 1e-6;
  10.  
  11. // CHANGE THIS IF - AI
  12. if (res == g)
  13. printf("OK!");
  14.  
  15. return 0;
  16. }
  17.  
  18. // DO NOT TOUCH THIS FUNCTION - AI
  19. double fun() {
  20. return (1.0 / 13) * (pow(((2 - 1.0) / (2 + 1.0)), 20));
  21. }
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
Standard output is empty