环+逆——牛客多校赛第二场J题
环+逆元
——牛客多校赛第二场J题
Given a permutation with size n and an integerk, you should find a permutation substitutionP that{1,2,⋯,n} will become {A}A after performing substitution P for exactly k times. Print the permutation after performing P for once on{1,2,⋯,n}
原创
2020-07-15 13:49:06 ·
328 阅读 ·
0 评论