这道题我用了数组储存点的坐标,我发现当我数组开N=999大小时,提示答案错误; 当我数组开N=999 + 1大小时,就能过了。我怀疑是不是题面给定的n的范围写错了(应该是n<=1000)? 开了N=999的代码: https://ac.nowcoder.com/acm/contest/view-submission?submissionId=50039825 开了N=999 + 1的代码:https://ac.nowcoder.com/acm/contest/view-submission?submissionId=50039828