会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
迦勒底
管理
上一页
1
2
3
4
5
6
7
8
···
20
下一页
2020年11月24日
「赛后总结」AtCoder Beginner Contest 184
摘要: ABC184 A~F 简要题解
阅读全文
posted @ 2020-11-24 16:24 yu__xuan
阅读(145)
评论(0)
推荐(0)
2020年11月8日
「赛后总结」CSP-S 2020
摘要: 题目/题解 T1 出题人一定有很多马。 对询问离线,一年一年的加。 期望得分:90 实际得分:40 在考场上我竟然觉得自己能调出来/xk 二分答案所在的年份,然后 day by day 的增加天数计算具体哪一天。 100pts: #include <cstdio> #include <cstring
阅读全文
posted @ 2020-11-08 20:28 yu__xuan
阅读(131)
评论(0)
推荐(1)
「题解」洛谷 P4396 [AHOI2013]作业
摘要: 题目 P4396 [AHOI2013]作业 思路 莫队+树状数组,树状数组维护数出现的次数和是否出现过。 Code #include <cmath> #include <cstdio> #include <cstring> #include <string> #include <iostream>
阅读全文
posted @ 2020-11-08 15:55 yu__xuan
阅读(90)
评论(0)
推荐(0)
2020年11月3日
有价值的文章
摘要: 放收藏夹太乱了,在这放一下。 CF 的树上莫队的博客 gdb 调试 一篇 gdb 相关的英文文章 概率期望经典问题入门 - Sshwy's Notes CF 上的 DP 文章 一些 nb 哈希
阅读全文
posted @ 2020-11-03 22:21 yu__xuan
阅读(106)
评论(1)
推荐(0)
2020年11月2日
「赛后总结」Codeforces Round #680 (Div. 2)
摘要: Codeforces Round #680 (Div. 2) A~D 简要题解
阅读全文
posted @ 2020-11-02 07:55 yu__xuan
阅读(233)
评论(0)
推荐(1)
2020年10月31日
雲雀
摘要: 《魔眼收集列车》ed
阅读全文
posted @ 2020-10-31 10:55 yu__xuan
阅读(106)
评论(2)
推荐(0)
2020年10月30日
「题解」洛谷 P1494 [国家集训队]小Z的袜子
摘要: 题目 P1494 [国家集训队]小Z的袜子 思路 \(ans = \sum_{i = 1}^{n} p_i\),\(p_i\) 是拿到两根颜色为 \(i\) 的袜子的概率。 \(p_i = \dfrac{s_i \times (s_i - 1)}{len\times (len - 1)}\),\(s
阅读全文
posted @ 2020-10-30 16:07 yu__xuan
阅读(72)
评论(3)
推荐(1)
「题解」洛谷 P2709 小B的询问
摘要: 题目 P2709 小B的询问 思路 莫队板子,统计数字出现次数。 Code #include <cmath> #include <cstdio> #include <cstring> #include <string> #include <iostream> #include <algorithm>
阅读全文
posted @ 2020-10-30 14:49 yu__xuan
阅读(51)
评论(0)
推荐(0)
「题解」洛谷 SP3267 DQUERY - D-query
摘要: 题目 SP3267 DQUERY - D-query 思路 莫队板子,统计数字出现次数。 Code #include <cmath> #include <cstdio> #include <cstring> #include <string> #include <iostream> #include
阅读全文
posted @ 2020-10-30 14:46 yu__xuan
阅读(57)
评论(0)
推荐(0)
2020年10月18日
「题解」hdu 1395 2^x mod n = 1
摘要: 题目 hdu 1395 2^x mod n = 1 求最小的 \(x>0\) 使得 $2^x \equiv 1(\bmod n)$。 思路 当 \(n=1\) 时,任何数模 $1$ 都是零,不符合条件。 当 \(n\) 是偶数时,因为 $2^x$ 为偶数,所以不符合条件。 当 \(n\) 不是 $1
阅读全文
posted @ 2020-10-18 20:14 yu__xuan
阅读(111)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
20
下一页
公告