UVA209 Triangular Vertices

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=4&page=show_problem&problem=145 [PDF](https://uva.onlinejudge.org/external/2/p209.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA209/a913c758c05d73beb471aca453b06b8c60fca4a6.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA209/640cd9ada2206fdd3937f1a2361954c0a41f3a28.png)

Output Format

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