UVA11429 随机数 Randomness

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=26&page=show_problem&problem=2424 [PDF](https://uva.onlinejudge.org/external/114/p11429.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11429/9adddf18cfe556796647c3bab7cb9b5642a7750a.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11429/76da2d21aaed446088da98289a0d75f5863bad3f.png)

Output Format

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