There was an error while loading. Please reload this page.
1 parent 275067d commit 77631c5Copy full SHA for 77631c5
1 file changed
leetcode3/최민지/3014.py
@@ -0,0 +1,11 @@
1
+class Solution:
2
+ def minimumPushes(self, word: str) -> int:
3
+ n = len(word)
4
+
5
+ result = 0
6
7
+ for i in range(n):
8
+ result += i // 8 + 1
9
10
+ return result
11
0 commit comments