// 要求被满足了! range2 += arr[i] if range2 >= aim { return patches } } for aim >= range2+1 { range2 += range2 + 1 patches++ } return patches } // 嘚瑟 func minPatches2(arr []int, K int) int { patches := 0 // 缺多少个数字 range2 := 0 // 已经完成了1 ~ range...