fork(1) download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int a,b,c,d,e,f;
  6. scanf("%d",&a);
  7. scanf("%d",&b);
  8. c=a/10;
  9. d=b/10;
  10. e=a%10;
  11. f=b%10;
  12. if ((c<d)||(e<f))
  13. printf("%d<%d",c,d);
  14. else if ((c>d)||(e>f))
  15. printf("%d>%d",c,d);
  16. else if ((c==d)||(e==f))
  17. printf("%d==%d",c,d);
  18. return 0;
  19. }
  20.  
  21.  
  22.  
Success #stdin #stdout 0.01s 5304KB
stdin
1 5
stdout
0<0