| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 72619 | sh25_zhuwy | 与7相关的数 | C++ | 通过 | 0 MS | 244 KB | 231 | 2025-11-02 12:53:44 |
#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; }