HW0902 Solution1 #include<iostream> #include<vector> #include<algorithm> #include<unordered_set> using namespace std; int main(){ int N; while(cin>>N){ int color, num; vector<pair<int, int>> red, blue; unordered_set<in...