P2547 [AHOI2004] DNA Mutation
Description

Input Format

Output Format
Only one line containing a number, representing the total number of "血缘序列对" in the DNA sequence.
Explanation/Hint
Translated by ChatGPT 5