UVA10248 The Integer All-time Champ

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=14&page=show_problem&problem=1189 [PDF](https://uva.onlinejudge.org/external/102/p10248.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10248/6390f722f601f152f3b7332244c8917588d6c1fb.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10248/73ff3d034bfe7df4d9f39dc6848f879f74f68172.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10248/8fa4e78301c5d6304b104afae6955de22b640154.png)