UVA12756 Flat Triangle

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=823&page=show_problem&problem=4609 [PDF](https://uva.onlinejudge.org/external/127/p12756.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12756/faa3f9b1204ce46dc1e12a2485c67b0179ee1bc5.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12756/214d01ce0f9067b24945bcfc39b8e14c3309b107.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12756/2d32aa63729b9069954fcfd97f2924c46b3e4ebb.png)