提交时间:2026-02-03 12:12:35
运行 ID: 83872
#include<bits/stdc++.h> using namespace std; bool y7wg(int a){ if(a%7==0) return false; while(a){ if(a%10==7) return false; a=a/10; } return true; } int main() { int n; cin>>n; if(!y7wg(n)) cout<<"yes"; else cout<<"no"; return 0; }