提交时间:2025-12-07 20:20:14

运行 ID: 75570

#include <bits/stdc++.h> using namespace std; int main( ) { int x,a,c,xx; cin>>x; a=x%10; c=int(1.0*x/10)%10; xx=int(1.0*x/100); if(a==7||c==7||xx==7||x%7==0) cout<<"yes"; else cout<<"no"; return 0; }