c++ easy solution
A clever ghost just need to first move to the target and wait for player. \nThere are two good Chinese phrases to describe it. "\u5B88\u682A\u5F85\u5154"\uFF0Cm
A clever ghost just need to first move to the target and wait for player. \nThere are two good Chinese phrases to describe it. "\u5B88\u682A\u5F85\u5154"\uFF0Cmeans wait for the rabbit. Or "\u81EA\u6295\u7F57\u7F51" means to hurl oneself into the trap.\nHere is the code:\n```\nclass Solution {\npublic:\n    bool escapeGhosts(vector<vector<int>>& ghosts, vector<int>& target) {\n        int dis = abs(target[0]) + abs(target[1]);\n        for(auto& g: ghosts){\n            int tmp = abs(g[0] - target[0]) + abs(g[1] - target[1]);\n            if(tmp<=dis){\n                return false;\n            }\n        }\n        return true;\n    }\n};\n```\n\n
[]