提交时间:2025-08-04 12:19:31
运行 ID: 337674
#include<bits/stdc++.h> using namespace std; int main(){ int a,s=0; cin>>a; while(a>0){ if(a/1%10==7){ s++; } a/=10; } if(s>0){ cout<<s<<endl; cout<<"no"; }else{ cout<<s<<endl; cout<<"yes"; } return 0; }