月度归档: 2024 年 8 月

2 篇文章

thumbnail
Codeforces Round 969 (Div. 2) – E – Iris and the Tree – 题解
原题链接:https://codeforces.com/contest/2006/problem/B (D1 的 B 题,D2 的 E 题) 因赛时想复杂了没做出来导致渡劫失败 ( $1859 \rightarrow 1891$ ),赛后补了一下发现竟然比 D 还好写 QwQ 题目大意 给定一个根为 $1$ ,且编号满足 DFS 序的树,令 $\o…
thumbnail
三分/交互练习题:CF1999G – Ruler
原题链接: https://codeforces.com/contest/1999/problem/G1 (Easy Ver, 可查询 10 次) https://codeforces.com/contest/1999/problem/G2 (Hard Ver) 题目大意 我们有一把尺子,但是中间缺少了一个数字 $x (2\leq x\leq 99…