UVA10289 A Square and Equilateral Triangles

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=14&page=show_problem&problem=1230 [PDF](https://uva.onlinejudge.org/external/102/p10289.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10289/6860d21b2bdd50f030e6e5a5b33a30f00df5a185.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10289/5ec089e36b9b9124ee249a2cf55f86966c9e9027.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10289/7c0d1a81209dea2fc09b94b4c64963b0a7f02918.png)