70求调
查看原帖
70求调
1380501
Im_a_big_SB楼主2025/7/2 08:14
#include<bits/stdc++.h>
using namespace std;
int main(){
	int m,k,cnt=0;
	cin>>m>>k;
	while(m!=0){
		if(m%10==3)cnt++;
		m/=10;
	}
	if(cnt==k)cout<<"YES";
	else cout<<"NO";
	return 0;
}
2025/7/2 08:14
加载中...