Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
337674 陈信宇 【C2-3】禁止用7 C++ 解答错误 0 2 MS 244 KB 254 2025-08-04 12:19:31

Tests(0/3):


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


测评信息: