UVA11925 生成排列 Generating Permutations

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=229&page=show_problem&problem=3076 [PDF](https://uva.onlinejudge.org/external/119/p11925.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11925/4ae01d3bad0e00d10dd54ea1a36732d8994153c9.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11925/39a915f8fa7c330f6d88d2084592f1cdbcc50f29.png)

Output Format

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