
xor
cwb丶
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces Round #563 (Div. 2) D. Ehab and the Expected XOR Problem(好题)(构造)(根据前缀亦或和反推数列)
D. Ehab and the Expected XOR Problemtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGiven two integersnnandxx, construct an ar...原创 2019-06-04 11:26:07 · 279 阅读 · 0 评论 -
异或的路径 新疆省赛 (按位亦或)
链接:https://ac.nowcoder.com/acm/contest/911/J来源:牛客网异或的路径时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld题目描述给一棵 n 个点的树,1 号节点为根,边有边权,令f(u,v) 表示 u 节点到 v 节点,路径上边权异或值。求 ∑...原创 2019-06-18 19:10:50 · 215 阅读 · 0 评论