This commit is contained in:
Zengtudor 2024-10-18 12:19:34 +08:00
parent e28ba394cc
commit d76d8efbaf

View File

@ -3,8 +3,8 @@ from typing import List
n,k = map(int,input().split(' '))
c=" "+input()
num:List[List[int]] = [[0 for _ in range(n+1)] for _ in range(n+1)]
dp:List[List[int]] = [[0 for _ in range(n+1)] for _ in range(n+1)]
num:List[List[int]] = [[0]*(n+1) for _ in range(n+1)]
dp:List[List[int]] = [[0]*(n+1) for _ in range(n+1)]
for i in range(1,n+1):
num[i][i] = int(c[i])