18301번 풀이 [Python]

sua·2022년 5월 16일
0

Baekjoon

목록 보기
25/161
post-thumbnail

문제


풀이

import math

a, b, c = map(int, input().split())
s = (a + 1) * (b + 1) / (c + 1) - 1
print(math.floor(s))
profile
가보자고

0개의 댓글