| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 85410 | 王珠潏 | 满足条件的数II | C++ | Wrong Answer | 0 MS | 268 KB | 344 | 2024-07-17 14:58:17 |
#include<iostream> using namespace std; int main(){ int 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; }
------Input------
45366 1
------Answer-----
NO
------Your output-----