/// test 1 #include <bits/stdc++.h> using namespace std; map<int,int >mmp; map<int,int >vis; int a[1000005]; int main(){ int n,k; while(~scanf("%d %d",&n,&k)){ mmp.clear(); for(int i=1;i<=n;i++){ scanf("%d",&a...