Skip to content

Instantly share code, notes, and snippets.

@nattybear
Created June 3, 2017 13:38
Show Gist options
  • Save nattybear/c13be6a76ef052664b50d2036a042ddc to your computer and use it in GitHub Desktop.
Save nattybear/c13be6a76ef052664b50d2036a042ddc to your computer and use it in GitHub Desktop.
알고스팟 왕초보구현 문제
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]
@nattybear
Copy link
Author

주석을 안 적을 경우

  • 이 코드는 내가 같은 문제를 1년전에 풀었던 건데
  • 내가 봐도 어떤 알고리즘인지 한번에 이해가 안된다.
  • 이렇듯이 주석을 적지 않으면
  • 그 코드를 작성한 사람마저도 이해를 하지 못해!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment