包AC的
2025-11-16 09:39:53
发布于:浙江
8阅读
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(d==3){
cnt+=1;
}
}
if(a%19==0&&cnt==b){
cout<<"YES";
}else{
cout<<"NO";
}
return 0;
}
这里空空如也

有帮助,赞一个