提交时间:2025-11-02 12:53:44
运行 ID: 72619
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; bool a=(n%10==7||n/100==7||(n-n/100*100)/10==7); bool b=(n%7==0); if(a||b) { cout<<"yes"; } else { cout<<"no"; } return 0; }