UVA10896 Known Plaintext Attack

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1837 [PDF](https://uva.onlinejudge.org/external/108/p10896.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10896/4f81e619bc731f6c1c04489be3fc0aefaefe9724.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10896/33216fc995dae0af22ffaf5e525723bb1c190eb3.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10896/521635b6315266d4035bc44f5be76ca29b673138.png)