UVA10825 Anagram and Multiplication

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1766 [PDF](https://uva.onlinejudge.org/external/108/p10825.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10825/532a2c2e4d3e752ca47c48a27c9450468c151833.png)

Input Format

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

Output Format

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