UVA12326 Yummy Triangular Pizza

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=278&page=show_problem&problem=3748 [PDF](https://uva.onlinejudge.org/external/123/p12326.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12326/6e1bb9cd14e19ca007431c819fa414211a99a226.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12326/048159a823b8b8ef7d6a5de03dca029f3b7e9197.png)