摘要: \(\text{Problem A}:\)Arithmetic Array \(\text{Solution}:\) 即让 \(\sum b_{i}=n\)。故当初始的 \(\sum b_{i}<n\) 时,答案为 \(1\);否则为 \(\sum b_{i}-n\)。 \(\text{Code}: 阅读全文
posted @ 2021-08-24 17:43 zkdxl 阅读(69) 评论(0) 推荐(0) 编辑
摘要: $\text{Problem A}:$​Cherry \(\text{Solution}:\) 考虑取 \(a_{i}\times a_{i+1}\) 肯定最优。可以通过加入一个 \(a_{i-1}\) 来证明。 \(\text{Code}:\)Link \(\text{Problem B}:\)C 阅读全文
posted @ 2021-08-24 08:20 zkdxl 阅读(51) 评论(1) 推荐(0) 编辑