![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
cf
文章平均质量分 53
书鸢1236
这个作者很懒,什么都没留下…
展开
-
Educational Codeforces Round 159 (Rated for Div. 2)
【代码】Educational Codeforces Round 159 (Rated for Div. 2)原创 2023-12-05 19:57:12 · 493 阅读 · 0 评论 -
Codeforces Round 908
反向模拟即可,若满足题意要求,pos = x && a[x] == x 的左移规则,a[x ]不可能 > n。是3个条件有且仅有2个条件被满足。原创 2023-11-09 14:00:59 · 223 阅读 · 0 评论 -
2023 - 8- 28练习题
【代码】2023 - 8- 28练习赛。原创 2023-08-28 22:21:16 · 81 阅读 · 0 评论 -
Ehab the Xorcist
如果有解,输出两行,第一行输出一个整数 n,第二行输出 n 个非负整数,表示数组里的元素。多解输出任意一组即可。如果无解,输出一行一个整数 −1。给定整数 u 和 v(0≤u,v≤10e18),试构造长度最短的数组,使得数组内所有元素的异或和为 u,加和为 v。原创 2023-08-18 22:53:00 · 130 阅读 · 0 评论