728x90
문제 링크: 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
문제 풀이
크기가 커질수 있으므로 long long으로 처리해서 계산하자.
코드
728x90
'BOJ' 카테고리의 다른 글
[BOJ][Python] 백준 1013번 - Contact (0) | 2022.03.30 |
---|---|
[BOJ][Python] 백준 24513번 - 좀비 바이러스 (0) | 2022.03.30 |
[BOJ][Python] 백준 14950번 - 정복자 (0) | 2022.02.11 |
[BOJ][Python] 백준 7511번 - 소셜 네트워킹 어플리케이션 (0) | 2022.02.11 |
[BOJ][Python] 백준 12871번 - 무한 문자열 (0) | 2022.01.21 |