Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
432647 沈子钰 【C2-3】禁止用7 C++ 解答错误 0 3 MS 248 KB 241 2026-03-14 17:16:37

Tests(0/3):


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


测评信息: