HBC15804Triangular garden题解

素流年 算法基础篇 50 0
全网最全C++题库,助您快速提升编程技能!题库丰富多样,涵盖各个领域,让您在练习中不断成长!
It’s universally acknowledged that there’re innumerable trees in the campus of HUST. Coach Yin possesses a triangular garden below his office. He wants to decorate his garden with a beautiful tree. He believes that a tree planted in place will bring good luck. A tree in place means that this tree is located at the orthocenter, centroid, incenter or circumcenter of the triangle. Orthocenter is the intersection of the three altitudes. Centroid is the intersection of the three midian line. Incenter is the intersection of three inner angular bisector. Circumcenter is the intersection of three perpendicular bisector. It's guaranteed that the given points can form a triangle.

It’s universally acknowledged that there’re innumerable trees in the campus of HUST. Coach Yin possesses a triangular garden below his office. He wants to decorate his garden with a beautiful tree. He believes that a tree planted in place will bring good luck. A tree in place means that this tree is located at the orthocenter, centroid, incenter or circumcenter of the triangle. Orthocenter is the intersection of the three(possibly extended) altitudes. Centroid is the intersection of the three midian line. Incenter is the intersection of three inner angular bisector. Circumcenter is the intersection of three perpendicular bisector. It's guaranteed that the given points can form a triangle.

HBC15804Triangular garden题解
-第1张图片-东莞河马信息技术
(图片来源网络,侵删)
想要在职场中立于不败之地?那就来试试全网最全C++题库,让您在练习中快速提升技能。

标签: HBC15804Triangular garden题解