#P2560. [AHOI2002] Kitty猫基因突变

    ID: 3377 远端评测题 1000ms 125MiB 尝试: 0 已通过: 0 显示难度普及+/提高− 上传者: 标签>2002各省省选安徽

[AHOI2002] Kitty猫基因突变

Problem Description

Input Format

Output Format

Output, in a single line, the evaluation metric of the mutation scheme with the best performance.

3 2
11000101
10 10 5 6 3 2 1 2
9

Hint

Translated by ChatGPT 5