HBC51466Don'tReallyLikeHowTheStoryEnds,数据结构,栈,思维Magic Line题解

arkfactor 算法基础篇 35 0
全网最全C++题库,助您快速提升编程技能!题库丰富多样,涵盖各个领域,让您在练习中不断成长!
There are always some problems that seem simple but is difficult to solve.Ndistinct points on a two-dimensional plane. He wants to draw a magic line so that the points will be divided into two parts, and the number of points in each part is the same. There is also a restriction: this line can not pass through any of the points.

There are always some problems that seem simple but is difficult to solve. ZYB got N  N distinct points on a two-dimensional plane. He wants to draw a magic line so that the points will be divided into two parts, and the number of points in each part is the same. There is also a restriction: this line can not pass through any of the points. Help him draw this magic line.

HBC51466Don'tReallyLikeHowTheStoryEnds,数据结构,栈,思维Magic Line题解
-第1张图片-东莞河马信息技术
(图片来源网络,侵删)

标签: HBC51466Don'tReallyLikeHowTheStoryEnds 数据结构 思维Magic Line题解