1、串珠,滑动窗口的应用 #include <bits/stdc++.h> using namespace std; int n, m, c; vector<int> colors[20008]; int win[1008]; int solution() { unordered_set<int> cc; memset(win, 0, sizeof win); for (int i = 0; i < m; ++i) { for (int c : colors[i]) { win[c...