
二进制
cwb丶
这个作者很懒,什么都没留下…
展开
-
Two Sequences (二分+二进制) (好题)
You are given two integer sequences, each of lengthN:a1,…,aNandb1,…,bN. There areN2ways to choose two integersiandjsuch that1≤i,j≤N. For each of theseN2pairs, we will computeai+bjand w...原创 2019-05-14 18:46:52 · 764 阅读 · 1 评论 -
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 · 271 阅读 · 0 评论