Distant Galaxy
来源:UVALive
标签:
参考资料:《算法竞赛入门经典——训练指南》P52
相似题目:https://blog.youkuaiyun.com/wingrez/article/details/82426599
题目
You are observing a distant galaxy using a telescope above the Astronomy Tower, and you think that a rectangle drawn in that galaxy whose edges are parallel to coordinate axes and contain maximum star systems on its edges has a great deal to do with the mysteries of universe. However you do not have the laptop with you, thus you have written the coordinates of all star systems down on a piece of paper and decide to work out the result later. Can you finish this task?