| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 75570 | sh25_shenpy | 与7相关的数 | C++ | 通过 | 0 MS | 248 KB | 244 | 2025-12-07 20:20:14 |
#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; }