#P2547. [AHOI2004] DNA变异

[AHOI2004] DNA变异

Description

Input Format

Output Format

Only one line containing a number, representing the total number of "血缘序列对" in the DNA sequence.

3
ATCTACTG
CTATACTG
CTATGATC
1

Hint

Translated by ChatGPT 5