There was an error while loading. Please reload this page.
1 parent 2867bb5 commit 5bdf394Copy full SHA for 5bdf394
1 file changed
leetcode3/남효정/837. New 21 Game.py
@@ -1,7 +1,7 @@
1
# 풀이 실패
2
class Solution:
3
def new21Game(self, n: int, k: int, maxPts: int) -> float:
4
- if k == 0 or n >= k + maxPtsL
+ if k == 0 or n >= k + maxPts:
5
return 1.0
6
7
dp = [0.0] * (n + 1)
0 commit comments