返回题解分享
讨论 / 题解分享/ 帖子详情

天穹之塔 - 题解

#include<bits/stdc++.h>
using namespace std;

long long n,a[100006],k,q,d;
int main(){
cin>>n>>k>>q;
for(int i=1;i<=q;i++){
cin>>d;
a[d]++;
}
for(int i=1;i<=n;i++){
if(k-(q-a[i])>0)cout<<"Yes"<<endl;
else cout<<"No"<<endl;
}
return 0;
}
0 回复 0 转发 0 喜欢 3 阅读
回复 (0)
默认 最新
暂无回复,快来抢沙发!