Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
335494 李俞家骅 【C2-3】含k个3的数 C++ 通过 100 2 MS 244 KB 227 2025-07-23 10:00:05

Tests(2/2):


#include<iostream> using namespace std; int main() { int i=0,m,k,n; cin>>m>>k; n=m; while(n){ if(n%10==3) i++; n/=10; } if(m%19==0&&i==k) cout<<"YES"; else cout<<"NO"; return 0; }


测评信息: