Live2D
上一页 1 2 3 4 5 6 7 8 9 10 ··· 44 下一页
摘要: $\mathscr{A}\sim$ 游戏 Cover:「ARC 087E」Prefix-free Game. Tags:「A.博弈-SG 函数」「A.数据结构-Trie」 想了半天 ($\ge15~\text{min}$) 怎么表述一堆字符串的前缀关系, 尝试发明一个数据结构 ... 我这不是个 T 阅读全文
posted @ 2022-11-13 23:05 Rainybunny 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 口糊现场。 阅读全文
posted @ 2022-11-11 20:57 Rainybunny 阅读(2) 评论(0) 推荐(0) 编辑
摘要: $\mathscr{A}\sim$ 遗忘十字路 Cover:「CF 1746D」Paths on the Tree. Tag:「C.性质/结论」 最原始的思路自然是 DP. 令 $f(u,k)$ 表示从 $u$ 开始向子树内探险 $k$ 次的最大收益, 那么每个孩子被探险的次数一定在 ${0,1}+ 阅读全文
posted @ 2022-11-11 20:06 Rainybunny 阅读(133) 评论(0) 推荐(0) 编辑
摘要: $\mathscr{A}\sim$ 移除石子 Tags:「A.构造」「C.细节」 "显然" 直接按 $(x,y)$ 二元组排序后两两组成正方形! 喜提 $90\text{pt}$. 实际上. 还有一些多但是不复杂的情况讨论, 这里不提. 不过还是可以排一遍序 $\mathcal O(n\log n) 阅读全文
posted @ 2022-11-07 16:25 Rainybunny 阅读(58) 评论(0) 推荐(0) 编辑
摘要: $\mathscr{Description}$ Link. 给定 $n$ 盏灯, 你可以选择让第 $i$ 盏照亮 $[i-p_i,i)$ 或者 $(i,i+p_i]$, 构造方案覆盖 $[1,n]$ 内的整点, 或声明无解. 多测, $\sum n\le3\times10^5$. $\mathscr 阅读全文
posted @ 2022-11-06 21:10 Rainybunny 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 办公室密码。 阅读全文
posted @ 2022-11-03 19:24 Rainybunny 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 机房文化: 模拟赛后总会有人把所有人的代码拉下来一个一个叉. 此外造数据的时候也挺常有 "造一些数据, 使得一些错解无法通过" 的应用需求, 所以随便写了个 "hacker". 环境要求 Linux. 参数格式 hacker <数据前缀名> <数据起始编号> <数据终止编号> <时间限制 (ms)> 阅读全文
posted @ 2022-11-02 15:12 Rainybunny 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Walking_Dead, known as a spy from the US in our computer room, said that he couldn't get the meaning of my solutions all the time. That's why I'm writ 阅读全文
posted @ 2022-10-30 22:46 Rainybunny 阅读(71) 评论(0) 推荐(0) 编辑
摘要: Preview,但是内容无关。 阅读全文
posted @ 2022-10-29 23:02 Rainybunny 阅读(391) 评论(10) 推荐(7) 编辑
摘要: 办公室密码. 阅读全文
posted @ 2022-10-26 22:16 Rainybunny 阅读(11) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 44 下一页