입력과 출력 비트 문자열이 비교해 전송이 정확히 이루어졌는지 확인하는 문제이다.
t=int(input())
for _ in range(t):
input_b, output_b=input().split()
if input_b==output_b:
print('OK')
else:
print('ERROR')
'BOJ > Python' 카테고리의 다른 글
[BOJ/백준] 13496 - The Merchant of Venice (Python) (0) | 2024.08.26 |
---|---|
[BOJ/백준] 11257 - IT Passport Examination (Python) (0) | 2024.08.26 |
[BOJ/백준] 10188 - Quadrilateral (Python) (0) | 2024.08.25 |
[BOJ/백준] 9782 - Median (Python) (0) | 2024.08.25 |
[BOJ/백준] 9699 - RICE SACK (Python) (0) | 2024.08.25 |