Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125975 | 王金檐 | 不吉利的数 | C++ | Compile Error | 0 MS | 0 KB | 255 | 2025-07-15 17:00:42 |
#include<iostream> using namespace std; int main(){ int n,m; cin>>n>>m; int k,s=0; for(int i=n;i<=m;i++){ k=i; while(k>0){ if(k%10==4||k%100==62){ s++; break; } } } k/=10; } } cout<<s-k; return 0; }
Main.cc:18:2: error: expected declaration before '}' token } ^