res_map, mapa, mapb;//res_map保存两个数组的不同元素map<int, bool>::iterator it;int a[20], b[20];int num = 0;cin>> num;for(int i =0; i< num; i++){cin>>a[i];mapa[a[i]] = true;}