Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85416 勾好 满足条件的数II C++ Wrong Answer 1 MS 272 KB 266 2024-07-17 15:00:08

Tests(0/3):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ long long n,k,j = 0; cin>>n>>k; if(n%19 == 0){ while(n!=0){ if(n%10 == 3){ j++; } n = n/10; } if(j == k){ cout<<"yes"; }else{ cout<<"no"; } } return 0; }


Run Info:

------Input------
43833 3
------Answer-----
YES
------Your output-----
yes