04: 21
문제
https://www.acmicpc.net/problem/11170
내가 작성한 코드
Swift
let t = Int(readLine()!)!
for _ in 0..<t {
let n = readLine()!.split(separator: " ").map { Int(String($0))! }
var sum = 0
for i in n[0]...n[1] {
sum += String(i).filter { $0 == "0" }.count
}
print(sum)
}