摘要: AC代码 A. Strange Table 不妨假设表中的数字从$0$开始,且行列也从$0$开始。 此时数字$x$在按列排时位于$(\lfloor \frac \rfloor, x \text n)$。 而案行排时,$(i, j)$上的数字为$i + j * m$。 最后再转换回来就行了。 B. P 阅读全文
posted @ 2021-03-26 18:56 _Backl1ght 阅读(255) 评论(0) 推荐(1) 编辑