1
2
3
4
5
6
7
8
|
for i in range(int(input())):
yonsei,korea=0,0
for _ in range(9):
a,b=map(int, input().split())
yonsei+=a; korea+=b
if yonsei>korea:print("Yonsei")
elif yonsei==korea:print("Draw")
else: print("Korea")
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
[백준] 10480 (0) | 2021.03.19 |
---|---|
[백준] 10262 (0) | 2021.03.19 |
[백준] 7891 (0) | 2021.03.19 |
[백준] 7523 (0) | 2021.03.19 |
[백준] 8558 (0) | 2021.03.19 |
댓글