1
2
3
4
5
6
7
|
dddt=int(input())
for i in range (t):
ans=0
n,m=map(int, input().split())
for j in range(n,m+1):
ans+=str(j).count('0')
print(ans)
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
백준 11068 회문인 수 (0) | 2021.12.09 |
---|---|
백준 16212 정열적인 정렬 (0) | 2021.12.09 |
백준 11931 수 정렬하기 4 (0) | 2021.12.08 |
백준 11728 배열 합치기 (0) | 2021.12.08 |
백준 10610 30 (0) | 2021.12.08 |
댓글