摘要: 题意 对于长为 $n$ 的数组 $a$,定义一次变换为 $a'i=a_i\oplus a{(i\ \bmod\ n)+1}$,$\oplus$ 为异或操作。 定义一个长为 $n$ 的数组 $c$ 合法,当且仅当存在一个数组 $a$ 可以通过 $t$ 次变换变为 $c$。 现在给定 $n,t,q,w$ 阅读全文
posted @ 2022-07-19 14:20 leukocyte 阅读(122) 评论(0) 推荐(1)