diff --git a/src/oj8782/oj8782.py b/src/oj8782/oj8782.py index 3026c6e..d390fe1 100644 --- a/src/oj8782/oj8782.py +++ b/src/oj8782/oj8782.py @@ -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])