Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148812 Kevin 不吉利的数 C++ Wrong Answer 0 MS 272 KB 297 2026-03-01 15:30:23

Tests(0/10):


Code:

#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++){ if(tichu(i)){ continue; } s++; } cout<<s<<endl; return 0; }


Run Info:

------Input------
4 500
------Answer-----
317
------Your output-----
0