源码:
n,x=map(int,input().split()) text='' summary=0 for i in range(n+1): text+=str(i) print(list(text).count(str(x)))
2,5,8报wrong answer了,求大佬解答