0
已解决
葛新月
新手守护
新手守护
#include<iostream>
#include<cstdio>
#include<string>
#include<algorithm>
using namespace std;
int main(){
int n,a[65],b[105],x;
cin>>n;
for(int i=1;i<=n;i++){
cin>>a[i];
b[a[i]]++;
}
cin>>x;
for(int i=1;i<=n;i++){
if(100-x==a[i]){
cout<<"yes"<<" "<<a[i];
}
else{
cout<<"no";
}
}
return 0;
}