| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148813 | Kevin | 不吉利的数 | C++ | Wrong Answer | 0 MS | 268 KB | 309 | 2026-03-01 15:31:54 |
#include<bits/stdc++.h> using namespace std; bool tichu(int n){ while(n!=0){ if(n%10==4||n%100==62){ return true; } n/=10; } } int main() { int n,m,s=0; cin>>n>>m; for(int i=n;i<=m;i++){ int t=i; if(tichu(t)){ continue; } s++; } cout<<s<<endl; return 0; }
------Input------
4 500
------Answer-----
317
------Your output-----
0