AA应该没啥难的吧直接map<string,map<string,int> >标记 机器ID和文章ID就行 map<string,map<string,int> > mp; int main() { tcase { string a,b; cin>>a>>b; if(mp[a][b]==0) { mp[a][b]=1; cout<<"YES"<<endl; }...