#include <bits/stdc++.h> using namespace std; bool isExist(string strI, string s){ return strstr(strI.c_str(), s.c_str()) != nullptr; //在strI中找s第一次出现的位置 } void process(int sizeI, int sizeR, vector<int> I, vector<int> R){ sort(R.begin(), R.end()); //排序 //unique函数:”删除”序列中所有相邻的重复元素(只保...