70pts,help
查看原帖
70pts,help
877497
JFY_2208楼主2023/5/27 10:19
#include<bits/stdc++.h>
using namespace std;
int main(){
    int a,b,s=0;
    cin>>a>>b;
    while(a){
        if(a%10==3)
            s++;
        a/=10;
    }
    if(s==b)
        cout<<"YES";
    else
        cout<<"NO";
    return 0;
}

?????

2023/5/27 10:19
加载中...