Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
73601 wangyuchun 与7相关的数 C++ 通过 0 MS 236 KB 225 2025-11-12 19:21:24

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n%7!=0){ while(n!=0){ if(n%10==7){ cout<<"yes"; return 0; } n/=10; } cout<<"no"; }else{ cout<<"no"; } }


测评信息: