包对
2025-04-09 22:56:16
发布于:北京
1阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
int a,b,c,cnt=0;
cin>>a>>b;
c=a;
while(c!=0){
int d=c%10;
c/=10;
if(d3){
cnt+=1;
}
}
if(a%190&&cnt==b){
cout<<"YES";
}else{
cout<<"NO";
}
return 0;
}
这里空空如也
有帮助,赞一个