BOJ - 15734 - 명장 남정훈

Updated:

import sys
L, R, A = map(int, sys.stdin.readline().split())
print(min(L+A, R+A, L+R+A >> 1) * 2)

https://www.acmicpc.net/problem/15734

Categories:

Updated:

Leave a comment