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
相關文章
相關標籤/搜索