UVA10434 Working With Specific Gravity

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=16&page=show_problem&problem=1375 [PDF](https://uva.onlinejudge.org/external/104/p10434.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10434/9c1400a8526dcc09ddc5ca8baa10fab5b3d87da0.png)

Input Format

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

Output Format

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