Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
335448 李俞家骅 【C2-3】禁止用7 C++ 解答错误 0 1 MS 244 KB 224 2025-07-23 09:09:44

Tests(0/3):


#include<iostream> using namespace std; int main() { int 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; }


测评信息: