-
[백준] 3009. 네번째점코테 준비/구현 2023. 1. 27. 22:53
xlist=[] ylist=[] for i in range(3): x,y=map(int,input().split()) if x not in xlist: xlist.append(x) else: xlist.remove(x) if y not in ylist: ylist.append(y) else: ylist.remove(y) print(*xlist,*ylist)
'코테 준비 > 구현' 카테고리의 다른 글
[백준] 3036. 링 (fraction 모듈) (0) 2023.02.13 [백준] 3053. 택시기하학 (0) 2023.01.29 [백준] 5430. AC (다시 풀어보기) (0) 2023.01.27 [백준] 1002. 터렛 (0) 2023.01.26 [프로그래머스] 3차 압축 (LZW 알고리즘) (0) 2023.01.26