摘要: A. 返乡 当所有 \(a+b+c\) 都相等时,显然没有偏序。使这个和为 \(\lfloor\frac{3\times n}{2}\rfloor\) 时,显然是数量最多的。 然后实际上这就是最优构造,因为它显然无法再往里加东西了。 Code #include<bits/stdc++.h> #def 阅读全文
posted @ 2025-07-04 09:38 zhangxy__hp 阅读(42) 评论(0) 推荐(0)