fork(1) download
  1.  
  2. int max(int a, int b);
  3. void main()
  4. {
  5. double x, y;
  6. scanf("%lf%lf", &x, &y);
  7. if ((int) x==x && (int) y==y)
  8. {int z = max(x, y);
  9. printf("%d\n", z);
  10. }
  11. else
  12. printf("n/a\n");
  13. }
  14. int max(int a, int b)
  15. {
  16. int n = a;
  17. if(b > a)
  18. n = b;
  19. return n;
  20. }
Success #stdin #stdout 0s 5284KB
stdin
bghfh jhbjkhb
stdout
n/a