UVA194 Triangle

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=130 [PDF](https://uva.onlinejudge.org/external/1/p194.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA194/dadd22119dfd0c3d0119beada345d345836270af.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA194/ff721f7b0beea46c7d169b8249942cd423572d58.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA194/b2a18f2c9ecd481979cf93b54247de53cce2f061.png)