提交时间:2024-01-23 14:58:15

运行 ID: 37834

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