I - Magic Points (2019省赛训练-4)

Given an integer nn, we say a point (x,y)(x,y) on a 2D plane is a magic point, if and only if both xx and yy are integers, and exactly one of the following conditions is satisfied: 0≤x<n0≤x<n and y=0y
相关文章
相关标签/搜索