fork(2) download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main(void)
  5. {
  6. double a,b,c,x,y;
  7. scanf("%lf %lf %lf %lf %lf",&a,&b,&c,&x,&y);
  8. if ((a<=0)||(b<=0)||(c<=0)||(x<=0)||(y<=0))
  9. {
  10. printf("The task is not correct");
  11. }
  12. else
  13. {
  14. if (((a<x)&&(b<y))||((a<y)&&(b<x))||((a<x)&&(c<y))||((a<y)&&(c<x))||
  15. ((b<x)&&(c<y))||((b<y)&&(c<x)))
  16. {
  17. printf("Yes");
  18. }
  19. else
  20. {
  21. printf("No");
  22. }
  23. }
  24.  
  25. return 0;
  26. }
  27.  
Success #stdin #stdout 0s 2300KB
stdin
13.213
4815162342
666
7
12
stdout
No