백준 10951번 #오류 코드 while 1: a,b = map(int,input().split()) print(a+b) #정답 코드 while True: try: A, B = map(int, input().split()) print(A+B) except: break try-exceot문은 많이 써보지 않아서 생각을 못했다. 오류 코드는 끝나지 않는 무한루프를 타므로 잘못된 코드였다. 알고리즘/백준 2022.08.16