先獻(xiàn)上一位巨佬的題解 https://blog.nowcoder.net/n/216cd9c139454f498e21b266166081bb?f=comment 鏈接:https://ac.nowcoder.com/acm/contest/33192/C 來源:??途W(wǎng) 題目描述 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...