UVA11549 Calculator Conundrum

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=27&page=show_problem&problem=2544 [PDF](https://uva.onlinejudge.org/external/115/p11549.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11549/bbbca0c23761f9509c7562abaf6847d7600424ae.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11549/1afe3f5e98ed8005c1f1378dd09f5fc25b61edec.png)