摘要: CF662C 首先有一个 \(\mathcal O(2^nm)\) 的做法。 枚举每一行是否反转的状态 \(s\),记 \(g_i=\min(\operatorname{popcount}(i),n-\operatorname{popcount}(i))\),\(t_i\) 表示第 \(i\) 列的 阅读全文
posted @ 2024-05-26 17:00 WhisperingWillow 阅读(27) 评论(0) 推荐(0)