UVA10460 Find the Permuted String

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=16&page=show_problem&problem=1401 [PDF](https://uva.onlinejudge.org/external/104/p10460.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10460/88be9535a3aef26b39c436f4089c9dfde386c175.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10460/966e9b43259c43267ab7397512c91ac8d42313ed.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10460/6f33da91b31770ad87f7a3f31c337091aff7a224.png)