-Code
n0, m0 = map(int, input().split())
res = 0
for _ in range(5):
n, m = map(int, input().split())
res = max(res, (n - n0) + 10 * (m - m0) + 1)
print(res)
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 25642번 젓가락 게임 (0) | 2024.05.19 |
---|---|
[백준/파이썬] 5163번 Isn’t It Funny How a Bear Likes Honey? (0) | 2024.05.18 |
[백준/파이썬] 31833번 온데간데없을뿐더러 (0) | 2024.05.16 |
[백준/파이썬] 31822번 재수강 (0) | 2024.05.15 |
[백준/파이썬] 31821번 학식 사주기 (0) | 2024.05.14 |