nastia专题

Codeforces Round #720 (Div. 2) C.Nastia and a Hidden Permutation(思维)

题目链接:https://codeforces.com/contest/1521/problem/C This is an interactive problem! Nastia has a hidden permutation p of length n consisting of integers from 1 to n. You, for some reason, want to fig