python-algorithm

백준 24860 Counting Antibodies

무적김두칠 2022. 12. 20. 16:43

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

 

24860번: Counting Antibodies

Immunoglobulins also known as antibodies are protein molecules. Antibodies play one of the key roles in the immune reaction --- they detect harmful foreign agents --- bacteria or viruses --- and help to eliminate them. Every foreign molecule binds with uni

www.acmicpc.net

 

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
반응형