![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
xor
cwb丶
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #563 (Div. 2) D. Ehab and the Expected XOR Problem(好题)(构造)(根据前缀亦或和反推数列)
D. Ehab and the Expected XOR Problem time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Given two integersnnandxx, construct an ar...原创 2019-06-04 11:26:07 · 244 阅读 · 0 评论 -
异或的路径 新疆省赛 (按位亦或)
链接:https://ac.nowcoder.com/acm/contest/911/J 来源:牛客网 异或的路径 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 给一棵 n 个点的树,1 号节点为根,边有边权,令f(u,v) 表示 u 节点到 v 节点,路径上边权异或值。求 ∑...原创 2019-06-18 19:10:50 · 172 阅读 · 0 评论