摘要: Description 给定一个 $n \times m$ 的矩阵,填入了 $1 \sim n \times m$ 中的数各一次,你可以翻转某一行或某一列,使得第 $i$ 行第 $j$ 列的数为 $(i-1)m+j$,操作次数 $\le 10nm$。 Solution 注意到在操作前后,$\fora 阅读全文
posted @ 2023-02-12 16:16 ducati❤OI 阅读(80) 评论(0) 推荐(0)