| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68933 | 万隽宇 | 不吉利的数 | C++ | Wrong Answer | 1 MS | 268 KB | 335 | 2024-03-28 18:43:25 |
# include<iostream> using namespace std; int main(){ int a,b,c=0,d=0; cin>>a>>b; d=b; for(int i=a;i<=b;i++){ c=i; while(c!=0){ if(c%10==4||c%100==62){ d--; break; } c=c/10; } } cout<<d; return 0; }
------Input------
4 500
------Answer-----
317
------Your output-----
320