Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
335449 李俞家骅 【C2-3】禁止用7 C++ 通过 100 1 MS 244 KB 230 2025-07-23 09:11:19

Tests(3/3):


#include<iostream> using namespace std; int main() { long long n,i=0; cin>>n; while(n){ if(n%10==7) i++; n/=10; } cout<<i<<endl; if(i) cout<<"no"; else cout<<"yes"; return 0; }


测评信息: