题解
2024-12-28 15:42:57
发布于:江苏
13阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
int m,k,sum=0;
cin>>m>>k;
if(m%19==0){
int x=m;
while(x!=0){
if(x%10==3){
sum++;
}
x/=10;
}
if(sum==k){
cout<<"YES";
}else{
cout<<"NO";
}
}else{
cout<<"NO";
}
return 0;
}
这里空空如也
有帮助,赞一个