Skip to content

Baekjoon 3449

1. Problem

문제 확인하기

2. Solution (Python, memory: 86116KB, time: 984ms)

for _ in range(int(input())):
    n1, n2 = input(), input()
    print(f"Hamming distance is {sum(n1[i] != n2[i] for i in range(len(n1)))}.")