본문 바로가기
python-algorithm

[백준] 18301

by 무적김두칠 2021. 3. 3.

1
2
a,b,c=map(int, input().split())
print( (a+1)*(b+1)//(c+1)-1  )
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 20492  (0) 2021.03.03
[백준] 20254  (0) 2021.03.03
[백준] 18096  (0) 2021.03.03
[백준] 18108  (0) 2021.03.03
[백준] 17496  (0) 2021.03.03

댓글