| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150085 | 孔声豪 | 满足条件的数II | C++ | Wrong Answer | 1 MS | 272 KB | 299 | 2026-03-22 11:00:27 |
#include<iostream> using namespace std; int main(){ int m,k,i,n; cin>>m>>k; if(m%19==0){ while(m!=0){ n=m%10; m/=10; if(n==3){ i++; } } } if(i==k)cout<<"YES"<<endl; else cout<<"NO"<<endl; return 0; }
------Input------
43833 3
------Answer-----
YES
------Your output-----
NO