摘要: 题意 给定$k,c$,再给定长度为$n$的序列($1\le n\le 2c-k$,\(k\le a_i\le 2^c-1\)) 进行$k$次操作,每次选择一个位置给$a_i-1$ 问$k$次操作后,最后异或和为$x$的概率为多少 输出$x$分别为$0\sim 2c-1$时的答案 \(k,c\le 1 阅读全文
posted @ 2020-10-08 19:35 Grice 阅读(185) 评论(0) 推荐(1)
摘要: 打了两次div2,终于能打div1了,还是挺兴奋的 Positive AND(10.2) Replace for X(10.3) Inversions(10.4) D-Dimensional MST(10.4) Adding Squares(10.4) Compress all Subsegment 阅读全文
posted @ 2020-10-08 10:57 Grice 阅读(167) 评论(0) 推荐(0)