SP22 TRICENTR - Triangle From Centroid

Description

Given the length of side a of a triangle and the distances from the centroid (the point of concurrence of the medians - red in the picture) to all sides: a, b and c, calculate this triangle's area and the distance (blue line) from the orthocenter (the point of concurrence of the heights - green in the picture) to the centroid. ![](https://cdn.luogu.com.cn/upload/vjudge_pic/SP22/1e6d05571c61798454eea88f7bbf7c7b7efedc04.png)

Input Format

N/A

Output Format

N/A