Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86613 丁俊杰 不吉利的数 Python3 Accepted 418 MS 3760 KB 139 2024-07-26 23:32:09

Tests(10/10):


Code:

n,m=map(int,input().split()) res=0 for x in range(n,m+1): if "4" in str(x) or "62" in str(x): res+=1 print(m-n+1-res)