Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
115452 谢佳辰 满足条件的数II C++ Wrong Answer 1 MS 276 KB 369 2025-03-30 14:55:27

Tests(2/3):


Code:

#include <bits/stdc++.h> using namespace std; int main(){ int m,k,n,i=0; cin>>m>>k; if(m%19==0){ while(m!=0){ n=m%10; m=m/10; if(n==3){ i++; } } if(i==k){ cout<<"YES"<<endl; }else{ cout<<"NO"<<endl; } } }


Run Info:

------Input------
45366 1
------Answer-----
NO
------Your output-----