提交时间:2025-08-04 12:23:24

运行 ID: 337675

#include<bits/stdc++.h> using namespace std; int main(){ long long a,s=0; cin>>a; while(a>0){ if(a%10==7){ s++; } a/=10; } if(s>0){ cout<<s<<endl; cout<<"no"; }else{ cout<<s<<endl; cout<<"yes"; } return 0; }