摘要:
等差数列 给定一个长度为 $n$ 的正整数数列 $a_1,a_2, \ldots, a_n$ 和一个正整数 $k$。 你可以对数列进行以下两种操作: + i x ,增加操作,将 $a_i$ 的值增加 $x$($x \geq 1$)。- i x ,减少操作,将 $a_i$ 的值减少 $x$($x \g 阅读全文
摘要:
Maximize the Minimum Powered City You are given a 0-indexed integer array stations of length $n$, where stations[i] represents the number of power sta 阅读全文