Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
125990 王金檐 不吉利的数 C++ Accepted 14 MS 276 KB 259 2025-07-15 17:04:34

Tests(10/10):


Code:

#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<<(m-n)-s+1; return 0; }