提交时间:2026-01-28 20:31:05
运行 ID: 83612
#include <bits/stdc++.h> using namespace std; const string y="yes"; int main() { short n; cin>>n; while(n!=0){ if(n%10==7){ cout<<y; return 0; } n=n/10; } if(n%7==0){ cout<<y; return 0; } cout<<"no"; return 0; }