先献上一位巨佬的题解 https://blog.nowcoder.net/n/216cd9c139454f498e21b266166081bb?f=comment 链接:https://ac.nowcoder.com/acm/contest/33192/C 来源:牛客网 题目描述 Grammy has a sequence A of length n. Please find a permutation P such that Pi != Ai for all i. 输入描述: There are multiple test cases. The first line contains a s...