https://www.acmicpc.net/problem/24860
1
2
3
4
5
6
7
8
9
|
def sol(vk, jk, vl,jl,vh,dh,j):
return (vk*jk+vl*+jl)*(vh*dh*j)
if __name__ == '__main__':
vk, jk =map(int, input().split())
vl, jl = map(int, input().split())
vh, dh, j = map(int, input().split())
print(sol(vk, jk, vl,jl,vh,dh,j))
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
백준 20352 Circus (0) | 2022.12.20 |
---|---|
백준 15128 Congruent Numbers (0) | 2022.12.20 |
백준 22015 金平糖 (Konpeito) (0) | 2022.12.20 |
백준 20673 Covid-19 (0) | 2022.12.20 |
백준 21591 Laptop Sticker (1) | 2022.12.20 |
댓글