摘要: #A. Divide and Conquer ##题意: 给定n个数,每次操作可以使得: $\lfloor\frac{ai}{2}\rfloor $,求最少的操作次数使得 n 个数的总和为偶数。 ##分析: 和为偶数,res == 0 和为奇数,暴力模拟 #include <bits/stdc++. 阅读全文
posted @ 2022-12-30 09:08 347Foricher 阅读(33) 评论(0) 推荐(0)