백준 30468번: 호반우가 학교에 지각한 이유 1 #Python

ColorlessDia·2024년 3월 13일

algorithm/baekjoon

목록 보기
113/836
STR, DEX, INT, LUK, N = map(int, input().split())

total_status = STR + DEX + INT + LUK

if total_status < (4 * N):
    print((4 * N) - total_status)
else:
    print(0)

0개의 댓글