Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
344888 王铖渝 【C2-3】禁止用7 C++ 通过 100 3 MS 248 KB 221 2025-08-28 14:31:25

Tests(3/3):


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


测评信息: