-Code
for _ in range(int(input())):
n = int(input())
v_list = list(map(int, input().split()))
u_list = list(map(int, input().split()))
res = 0
for i in range(n):
if v_list[i] != u_list[i]:
res += 1
print(res)
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 19963번 Санта Клаус (0) | 2024.06.17 |
---|---|
[백준/파이썬] 30215번 Age Expression (0) | 2024.06.16 |
[백준/파이썬] 25374번 등급 계산하기 (1) | 2024.06.14 |
[백준/파이썬] 7360번 Undercut (1) | 2024.06.13 |
[백준/파이썬] 1269번 대칭 차집합 (0) | 2024.06.12 |