二进制
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 · 744 阅读 · 1 评论 -
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 · 264 阅读 · 0 评论