include
using namespace std;
int main()
{
int n;cin>>n;
int check[31]={0};
while(n--){
while(1==1){
int a;cin>>a;
if(a==-1) break;
check[a]++;
}
}
for(int i=1;i<=30;i++){
if(check[i]==0){
cout<<"no";return 1e9;
}
}
cout<<"yes";
}
题目没说员工的value不能重合哦
emmm,set自动去重,假设你插入1,1,2,那么set.size() = 2
谢谢指点!