UVA11437 Triangle Fun

Description

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

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11437/1b689792e470ad9074a7872233a8a5108ef92cb4.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11437/831bc9d4b2e1f5cb1b048fcf3e80a525cedda978.png)