1# Runtime: 58 ms (Top 30.40%) | Memory: 14 MB (Top 14.20%)2class Solution:3 def minMoves(self, target: int, maxDoubles: int) -> int:4 c = 05 while maxDoubles > 0 and target > 1:6 c += target % 27 target //= 28 c += 19 maxDoubles -= 110 return c + target - 1
WPM •0 •0
ACC •0 •0
TIME •0