10103 : 주사위 게임

서희찬·2021년 8월 29일
0

백준

목록 보기
16/105

문제

코드

round = int(input())
mScore=100; nScore = 100 
for _ in range(1,round+1):
    m, n = map(int,input().split())
    if m>n :
        nScore-=m
    elif m<n :
        mScore-=n
print(mScore)
print(nScore)

해설

그냥 ,,, 그냥 ㅇㅇ,,

profile
부족한 실력을 엉덩이 힘으로 채워나가는 개발자 서희찬입니다 :)

0개의 댓글