D. Valera and Swaps time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A permutation p of length n is a sequence of distinc
链接:http://codeforces.com/problemset/problem/441/A Valera and Antique Items time limit per test:1 second memory limit per test:256 megabytes input:standard input output:standard output