fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a,b,c;
  5. scanf("%d %d %d", &a,&b,&c);
  6. if(a<b && b<c){
  7. printf("YES");
  8. }
  9. else{
  10. printf("NO");
  11. }
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5320KB
stdin
1 3 6
stdout
YES