UVA11843 Guessing Game

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=226&page=show_problem&problem=2943 [PDF](https://uva.onlinejudge.org/external/118/p11843.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11843/2add1f8457ab0fec47eaff1c12dfdab4869db5e2.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11843/14e8644574704026103f2a5e63f743eeddc93f4b.png)

Output Format

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