ans

liujunhao 2023-12-21 19:33:35 3 返回题目

#include<bits/stdc++.h>

using namespace std;

int main(){

int m,k,flag=1;
scanf("%d%d", &m, &k);
if(m%19!=0)flag=0;
while(m>0){
	if(m%10==3)k--;
	m/=10;
}
if(k!=0)flag=0;
if(flag)cout<<"YES";
else cout<<"NO";
return 0;

}

{{ vote && vote.total.up }}