Created
June 3, 2017 13:38
-
-
Save nattybear/c13be6a76ef052664b50d2036a042ddc to your computer and use it in GitHub Desktop.
알고스팟 왕초보구현 문제
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in range(input()): | |
a = raw_input() | |
b = raw_input() | |
c = raw_input() | |
x = [] | |
y = [] | |
z = [] | |
def d(e): | |
x.append(e.split(' ')[0]) | |
y.append(e.split(' ')[1]) | |
for i in [a, b, c]: | |
d(i) | |
def f(g): | |
for i in g: | |
if g.count(i) == 1: | |
z.append(i) | |
f(x) | |
f(y) | |
print z[0], z[1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
주석을 안 적을 경우