Think about it this way: x < y < z
Difference between y and x is more than 5 so it is at least 6. But x is even and y is odd so their difference would be odd. Hence the diff between them will be at least 7.
Now z is greater than y by at least 2 (since z is odd too), hence diff between x and z is at least 9.
Think about it this way: x < y < z
Difference between y and x is more than 5 so it is at least 6. But x is even and y is odd so their difference would be odd. Hence the diff between them will be at least 7.
Now z is greater than y by at least 2 (since z is odd too), hence diff between x and z is at least 9.
登录 或 注册 后可以参加讨论