int temp = Math.abs(pre[0]-i)+Math.abs(pre[1]-j); 大佬这个距离不是求两点距离么
点赞 1

相关推荐

牛客网
牛客企业服务