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

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; if(s==0){ cout<<"yes"<<endl; } else{ cout<<"no"; } return 0; }


测评信息: