class Solution {
public:
    bool isReachableAtTime(int sx, int sy, int fx, int fy, int t) {
        if(sx == fx && sy == fy) return t != 1;
        return (max(abs(sx - fx), abs(sy - fy)) <= t);
    }
};