5279: B3891 [语言月赛 202311] 基因(普及-)
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:1
Description

Input

Output

Sample Input Copy
3
5
ATCGT
6
ACATGT
5
ATCGU
Sample Output Copy
6
21
0
HINT
