#include <bits/stdc++.h> using namespace std; const int maxN = 1e6 + 10 int n, k, a[maxN]; ...
大聪明啊我。