UVA11482 Building a Triangular Museum

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=26&page=show_problem&problem=2477 [PDF](https://uva.onlinejudge.org/external/114/p11482.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11482/eabffeaf175b53a68af5178734bb4a38068b3a6f.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11482/5b39f341379f265bb3963657ac20471f0eb93fcf.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11482/41b8a9ebd35fc89dc1a368f272507b2d8a379d69.png)