python-algorithm

[백준] 10214

무적김두칠 2021. 3. 19. 15:34

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")
    elseprint("Korea")
cs
반응형