| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 436448 | 王璟源 | 【C2-3】禁止用7 | C++ | 通过 | 100 | 3 MS | 252 KB | 253 | 2026-04-15 19:25:32 |
#include<iostream> using namespace std; int main(){ long long n; cin>>n; int s=0; while(n>0){ if(n%10==7){ s=s+1; } n/=10; } cout<<s<<endl; if(s>0){ cout<<"no"<<endl; } else{ cout<<"yes"<<endl; } return 0; }