honey_pot

[python] 백준 10214번 본문

문제 풀이

[python] 백준 10214번

_tera_ 2021. 6. 8. 00:46

t = int(input())
for _ in range(t):
    ys = ko = 0
    for _ in range(9):
        y, k = map(int, input().split())
        ys+=y
        ko+=k
    if ys > ko :
        print("Yonsei")
    elif ys == ko:
        print("Draw")
    else:
        print("Korea")

'문제 풀이' 카테고리의 다른 글

[python] 백준 10988번  (0) 2021.06.08
[python] 백준 5086번  (0) 2021.06.08
[python] 백준 10162번  (0) 2021.06.08
[python] 백준 5717번  (0) 2021.06.08
[python] 백준 9610번  (0) 2021.06.08
Comments