Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76012 张康楠 不吉利的数 Python3 Accepted 1249 MS 3760 KB 195 2024-06-01 14:12:04

Tests(10/10):


Code:

a,b = map(int,input().split()) x=0 c=0 for i in range(a,b+1): if "62" not in str(i) and "4" not in str(i): x=x+1 if "62" in str(i) or "4" in str(i): c=c+1 print(x)