40分代码
#include<bits/stdc++.h> using namespace std; int main(){ int m,k,s=0; cin>>m>>k; int t=m; while(t!=0){ if(t%10==3){ s++; } t=t/10; } if(s==k&&m%19==0) { cout<<"YES"; }else{ cout<<"NO"; } return 0; }