蒟蒻做题记录

· · 个人记录

前言

启动于 2025 年 4 月 9 日,记录蒟蒻每天做的题。

受洛谷 Markdown 的影响,题目链接和后面的内容之间必须有一个空格(好难受……)。

链接 & 链接 表示 同一题 / 经验题。

Update 20250507:以后开始记录每道题开始时间、结束时间和核心算法。

2025 年

4 月

9 日

https://www.luogu.com.cn/problem/P1948 :AC。\ https://www.luogu.com.cn/problem/P1120 :AC。\ https://www.luogu.com.cn/problem/P2254 :AC。 https://www.luogu.com.cn/problem/P5537 :样例没过,无评测记录。

10 日

https://www.luogu.com.cn/problem/P5537 :通过样例和第一个测试点。

11 日

https://www.luogu.com.cn/problem/P5537 :继续尝试(此处为有 WA、TLE 和 MLE 的评测记录列表)。\ https://www.luogu.com.cn/problem/P4378 :AC。

12 日

https://www.luogu.com.cn/problem/P5537 :继续尝试(此处为有 WA、TLE 和 MLE 的评测记录列表)(心态要崩了)。\ https://www.luogu.com.cn/problem/P11615 :AC。\ https://www.luogu.com.cn/problem/T595153?contestId=240581 :赛时 AC。\ https://www.luogu.com.cn/problem/T595154?contestId=240581 :赛时 AC。

13 日

https://www.luogu.com.cn/problem/P12148 & https://oier.team/problems/X11C :AC(上文的链接挂了)。\ https://www.luogu.com.cn/problem/P12149 & https://oier.team/problems/X11D :AC(重放理由同上)。\ https://www.luogu.com.cn/problem/P8449 :AC。\ https://www.luogu.com.cn/problem/P4375 :AC。

14 日

https://www.luogu.com.cn/problem/P3919 :AC(复习模板)。\ https://www.luogu.com.cn/problem/P12035 :AC(赛后重交)。\ https://www.luogu.com.cn/problem/P12013 :AC(远古 FJC 原题)。

15 日

https://www.luogu.com.cn/problem/P5537 :AC(太困难了,评测有两页……)。

16 日 至 24 日

因期中考暂停。

25 日

https://www.luogu.com.cn/problem/P6186 :打了一半。

26 日

https://www.luogu.com.cn/problem/T457248?contestId=240146 :赛时 AC。\ https://www.luogu.com.cn/problem/P6186 :AC。\ https://www.luogu.com.cn/problem/P2513 :AC。\ https://www.luogu.com.cn/problem/P6323 :AC。\ https://www.luogu.com.cn/problem/P1521 :AC。

27 日

https://www.luogu.com.cn/problem/P3376 :AC(学习网络最大流)。\ https://www.luogu.com.cn/problem/P12350 :AC(赛后重交)。\ https://www.luogu.com.cn/problem/P12351 :25 pts(赛后重交)。\ https://www.luogu.com.cn/problem/P12352 :60 pts(赛后重交)。

28 日

https://www.luogu.com.cn/problem/P2885 :AC。\ https://www.luogu.com.cn/problem/P12352 :AC。\ https://codeforces.com/problemset/problem/1082/E :AC。\ https://www.luogu.com.cn/problem/P2657 :AC。

29 日

复习 whk。

30 日

https://www.luogu.com.cn/problem/P3381 :AC。

5 月

1 日

https://www.luogu.com.cn/problem/P3369 :AC。

2 日

https://www.luogu.com.cn/problem/T594498?contestId=241690 :赛时 AC。\ https://www.luogu.com.cn/problem/P3690 :AC。

3 日

<http\://146.56.207.24/d/normal/p/45?tid=6814e491688eb52e438897b3> :AC。\ <http\://146.56.207.24/d/normal/p/46?tid=6814e491688eb52e438897b3> :AC。\ <http\://146.56.207.24/d/normal/p/47?tid=6814e491688eb52e438897b3> :AC。\ https://www.luogu.com.cn/problem/B3838 :AC。

4 日

<http\://146.56.207.24/d/normal/p/54?tid=681617c4688eb52e4388c4af> :AC。\ <http\://146.56.207.24/d/normal/p/55?tid=681617c4688eb52e4388c4af> :AC。\ <http\://146.56.207.24/d/normal/p/56?tid=681617c4688eb52e4388c4af> :AC。\ <http\://146.56.207.24/d/normal/p/57?tid=681617c4688eb52e4388c4af> :AC。\ <http\://146.56.207.24/d/normal/p/59?tid=681617c4688eb52e4388c4af> :AC。\ https://www.luogu.com.cn/problem/P10931 :AC。\ https://www.luogu.com.cn/problem/P2449 :AC。\ https://www.luogu.com.cn/problem/T576285?contestId=213624 :AC。\ https://www.luogu.com.cn/problem/T587512?contestId=213624 :AC。\ https://www.luogu.com.cn/problem/P12412 :AC。\ https://www.luogu.com.cn/problem/P12413 :AC。\ https://www.luogu.com.cn/problem/P12414 :AC。

5 日

<http\://146.56.207.24/d/normal/p/63?tid=68172287688eb52e43890ec6> :AC。\ <http\://146.56.207.24/d/normal/p/64?tid=68172287688eb52e43890ec6> :AC。\ <http\://146.56.207.24/d/normal/p/65?tid=68172287688eb52e43890ec6> :AC。\ <http\://146.56.207.24/d/normal/p/66?tid=68172287688eb52e43890ec6> :AC。\ <http\://146.56.207.24/d/normal/p/68?tid=68172287688eb52e43890ec6> :AC。\ https://atcoder.jp/contests/arc137/tasks/arc137_c :AC。\ https://www.luogu.com.cn/problem/P8807 :AC。\ https://www.luogu.com.cn/problem/T602771?contestId=243108 :AC。\ <http\://146.56.207.24/d/normal/p/67?tid=68172287688eb52e43890ec6> :AC。\ https://www.luogu.com.cn/problem/P12420 :AC。\ https://www.luogu.com.cn/problem/P12422 :48 pts。\ https://www.luogu.com.cn/problem/P4124 :AC。\ https://www.luogu.com.cn/problem/P2398 :AC。

6 日

whk。

7 日

https://www.luogu.com.cn/problem/P3834 :AC。\ <http\://146.56.207.24/d/normal/p/48> :WA 0。\ https://vjudge.net/contest/706952#problem/A :TLE。

8 日 ~ 9 日

whk。

10 日

https://www.luogu.com.cn/problem/P3384 14\:05~19\:26:AC。树链剖分模板题。

11 日

https://www.luogu.com.cn/problem/P2146 11\:05~12\:00 \& 14\:30~15\:08:AC。树链剖分练习题。\ https://codeforces.com/problemset/problem/819/D 15\:53~18\:51:TLE on #71。神必数学题。

12 日

https://codeforces.com/problemset/problem/819/D 12\:20~12\:28:AC。同上。\ <http\://146.56.207.24/d/normal/p/75> 16\:30~17\:30 \& 19\:00~21\:05 :样例没过。

13 日

whk。

14 日

https://vjudge.net/contest/706952#problem/A \& https://www.luogu.com.cn/problem/CF1553F \& https://codeforces.com/problemset/problem/1553/F 15\:05~16\:20 :AC \& AC。数学题。\ https://www.luogu.com.cn/problem/P4820 18\:40~19\:32 :AC。数学题。\ <http\://146.56.207.24/d/normal/p/75> 20\:20~20\:56:AC。赛后补题。

15 日

https://www.luogu.com.cn/problem/P2756 20\:46~21\:08:AC。最大流 Dinic 练习题。

16 日

https://www.luogu.com.cn/problem/P4015 20\:45~21\:21:AC。费用流练习题。

17 日

https://www.luogu.com.cn/problem/P4014 16\:45~17\:00:AC。费用流练习题。

18 日

https://www.luogu.com.cn/problem/P5520 20\:15~20\:22:AC。数学题。\ https://codeforces.com/problemset/problem/1225/E 15\:00~15\:12 \& 20\:30~20\:40:AC。dp 妙妙题。

19 日

https://www.luogu.com.cn/problem/P1975 15\:50~16\:24:AC。水紫暴力题。\ https://www.luogu.com.cn/problem/P1736 17\:00~17\:20:AC。普通 dp 题。\ https://codeforces.com/problemset/problem/1634/F 18\:56~20\:11:AC。差分题。\ https://vjudge.net/problem/HDU-4283 20\:12~20\:28:AC。区间 dp 题。\ https://vjudge.net/contest/706835#problem/B 20\:36~20\:55:写一半发现没思路了。fzsz 作业题。

20 日

https://www.luogu.com.cn/problem/P5787 17\:37~18\:08:AC。线段树分治模板题。

21 日

https://www.luogu.com.cn/problem/P7818 19\:13~20\:58:AC。线段树 + 贪心题。

22 日

https://www.luogu.com.cn/problem/P4372 20\:06~20\:37:AC。排序妙妙题。\ <http\://146.56.207.24/d/normal/p/76> 20\:57~21\:32:AC。FJC 赛后补题 & 数位 dp 题。

23 日 & 24 日

打比赛。

25 日

https://www.luogu.com.cn/problem/P3174 15\:08~16\:05:AC。树形 dp & 一堆细节题。

26 日

https://contest.xinyoudui.com/contest/425/problem/2180 15\:00~18\:00:(看不了评测记录)WA / TLE 15~25。

27 日

https://www.luogu.com.cn/problem/P2763 21\:03~21\:26:AC。网络流与线性规划 24 题之一。

28 日

https://vjudge.net/problem/HDU-2196 19\:38~20\:02:AC。换根 dp 基础题。\ https://www.luogu.com.cn/problem/P4186 20\:06~21\:08:AC。树论妙妙题。

29 日

https://contest.xinyoudui.com/contest/425/problem/2180 17\:39~18\:15:(看不了评测记录)AC。神必图论 + 数论题。

30 日

https://codeforces.com/problemset/problem/708/C 20\:22~20\:45:AC。换根 dp 妙妙题。

31 日

<http\://146.56.207.24/d/normal/p/91> 15\:37~16\:12:AC。经典最短路。

6 月

1 日

https://www.luogu.com.cn/problem/P2949 15\:38~16\:51:AC。反悔贪心题(虽然我用时间回溯做的)。

2 日

https://www.luogu.com.cn/problem/P1919 ??\:??~??\:??:没过样例。

3 日

https://www.luogu.com.cn/problem/P1919 13\:19~13\:41:MLE。

4 日

https://www.luogu.com.cn/problem/P1919 15\:11~15\:28:AC。FFT 模板题。\ https://atcoder.jp/contests/abc408/tasks/abc408_e 15\:37~16\:03:AC。简单图论题。\ https://atcoder.jp/contests/abc408/tasks/abc408_f 16\:12~16\:54:AC。经典线段树优化 dp 题。\ <http\://146.56.207.24/d/normal/p/78> 18\:47~19\:25:AC。FJ Code 赛后补题。\ https://atcoder.jp/contests/abc407/tasks/abc407_e 20\:25~21\:00:想出 O(N^2) 超级暴力做法。

5 日

https://www.luogu.com.cn/problem/P1080 17\:08~17\:45:AC。经典贪心题。\ https://atcoder.jp/contests/abc407/tasks/abc407_e 17\:52`18\:47:AC。神必反悔贪心题。

6 日

https://codeforces.com/problemset/problem/865/D 17\:36~17\:54:AC。反悔贪心题。

7 日

https://www.luogu.com.cn/problem/P12732 15\:33~15\:37:AC(赛后复交)。语法题。\ https://www.luogu.com.cn/problem/P12733 15\:37~15\:46:AC(赛后复交)。二分题。\ https://www.luogu.com.cn/problem/P12734 15\:46~17\:42:WA 0 pts(赛后复交)。神必树上 dp 题。\ https://www.luogu.com.cn/problem/P12735 17\:42~18\:00:7 pts(赛后复交)。神必数数题。(真实时间为 18 时 00 分 03~05 秒,7 分的暴力代码已经写完但是没交上去。)

8 日

https://www.luogu.com.cn/problem/P3974 15\:03~16\:05:AC。神必偏序 + dp 题。\ https://www.luogu.com.cn/problem/P11335 17\:32~17\:53:AC。偏序 + LIS 题。

9 日

<http\://146.56.207.24/d/normal/p/95> 15\:00~15\:29:AC。dp 题。\ <http\://146.56.207.24/d/normal/p/96> 15\:30~16\:25:70 pts。神必暴搜题。\ <http\://146.56.207.24/d/normal/p/97> 16\:26~16\:38:AC。反悔贪心题。\ https://www.luogu.com.cn/problem/P4001 昨天 18\:42~20\:09 \& 今天 16\:44~16\:46:AC。最小割题。\ https://www.luogu.com.cn/problem/P1484 17\:59~18\:07:AC。反悔贪心题。

10 日

whk。

11 日

<http\://146.56.207.24/d/normal/p/96> 15\:07~16\:32:AC。暴搜题。\ https://www.luogu.com.cn/problem/P3552 16\:33~17\:29:AC。原。\ https://www.luogu.com.cn/problem/P12351 17\:52~17\:56:AC。补远古题。

12 日

https://www.luogu.com.cn/problem/P3574 19\:08~19\:42:AC。贪心 + 树形 dp 题。

13 日

https://atcoder.jp/contests/abc409/tasks/abc409_a 19\:40~19\:43:AC。语法题。\ https://atcoder.jp/contests/abc409/tasks/abc409_b 19\:43~19\:50:AC。极简贪心题。\ https://atcoder.jp/contests/abc409/tasks/abc409_c 19\:50~19\:58:AC。极简计数题。\ https://atcoder.jp/contests/abc409/tasks/abc409_d 19\:58~20\:11:AC。普通贪心题。\ https://atcoder.jp/contests/abc409/tasks/abc409_e 20\:11~20\:50:AC。神奇直觉题。

14 日

比赛。

15 日

<http\://146.56.207.24/d/normal/p/105> 14\:28~15\:05:AC。构造妙妙题。\ https://codeforces.com/problemset/problem/1965/E 16\:33~16\:46:AC。原。

16 日 ~ 26 日

期末考,没做题。

27 日

https://www.luogu.com.cn/problem/P10798 19\:18~19\:40:AC。单调栈妙妙题。\ https://codeforces.com/problemset/problem/1748/E 21\:30~21\:56:AC。笛卡尔树题。\ https://www.luogu.com.cn/problem/P3487 22\:14~22\:22:AC。单调队列 + 贪心妙妙题。

28 日

https://www.luogu.com.cn/problem/P2706 14\:19~14\:46:AC。单调栈基础题。\ https://www.luogu.com.cn/problem/P4697 14\:58~15\:24:AC。单调栈进阶题。\ https://www.luogu.com.cn/problem/P6510 15\:56~16\:05:AC。双单调栈题。

29 日

https://www.luogu.com.cn/problem/P11261 昨天 16\:28~15\:13 \& 今天 14\:59~15\:35:AC。笛卡尔树 + 启发式搜索。\ https://www.luogu.com.cn/problem/P8163 15\:47~17\:13 \& 20\:12~20\:33:AC。倍增 + ST 表好题。

30 日

https://www.luogu.com.cn/problem/P13036 19\:07~20\:24:WA 0pts。dp 题,感觉评测有问题,做不了。\ <http\://146.56.207.24/d/normal/p/126> 20\:26~21\:00:没评测。容斥题。

7 月

1 日

https://codeforces.com/problemset/problem/558/E 11\:49~13\:26:AC。线段树 + 计数排序题。\ <http\://146.56.207.24/d/normal/p/126> 15\:08~15\:24:AC。计数题。\ https://codeforces.com/problemset/problem/1854/E 15\:57~16\:59:AC。神必构造题。

2 日

验题。\ <http\://146.56.207.24/d/normal/p/133> 18\:30~21\:00:95 pts。hash + dsu + 树状数组 + 二分题。

3 日

<http\://146.56.207.24/d/normal/p/113> 14\:00~15\:28:AC。二分题。 <http\://146.56.207.24/d/normal/p/133> 15\:46~16\:35:AC。hash + dsu + 树状数组 + 二分题。\ <http\://146.56.207.24/d/normal/p/135> 16\:45~17\:40:AC。dp 题。

4 日

<http\://146.56.207.24/d/normal/p/138> 13\:53~14\:20:AC。单调栈题。\ <http\://146.56.207.24/d/normal/p/139> 15\:59~17\:46:WA 35。树形 dp 题。

5 日

<http\://146.56.207.24/d/normal/p/139> 10\:03~10\:48:AC。树形 dp 题。

7 日

<http\://146.56.207.24/d/normal/p/142> 14\:13~14\:46:AC。树论题。\ <http\://146.56.207.24/d/normal/p/144> 14\:56~17\:20:AC。树形 dp 题。

8 日

https://www.luogu.com.cn/problem/P3232 10\:33~11\:50:AC。经典期望 dp 题。\ https://codeforces.com/problemset/problem/689/D 13\:44~14\:23:AC。st 表 + 二分题。\ https://codeforces.com/problemset/problem/372/C 14\:41~15\:38:AC。单调队列优化 dp 题。\ https://www.luogu.com.cn/problem/P2280 15\:49~16\:00:AC。普通前缀和题。\ https://www.luogu.com.cn/problem/P1311 16\:01~16\:50:WA 10pts。

9 日

https://www.luogu.com.cn/problem/P1311 8\:50~9\:06:AC。前缀和 + 双指针题。\ https://codeforces.com/problemset/problem/447/E 14\:36~16\:26:AC。线段树 + 数学题。

10 日

https://www.luogu.com.cn/problem/P2824 10\:32~11\:05:AC。线段树 + 二分题。\ https://www.luogu.com.cn/problem/P5278 13\:40~16\:24:RE 70pts。线段树 + 数学题。\ https://www.luogu.com.cn/problem/P2569 16\:25~17\:05 \& 19\:02~20\:16:AC。单调队列优化 dp 题。\ https://www.luogu.com.cn/problem/P3800 20\:35~20\:50:AC。单调队列优化 dp 题。\ https://www.luogu.com.cn/problem/P5278 20\:53~21\:37:对拍。线段树 + 数学题。

11 日

https://www.luogu.com.cn/problem/P5278 8\:36~8\:47:AC。线段树 + 数学题。\ https://www.luogu.com.cn/problem/P2034 9\:59~10\:16:AC。单调队列优化 dp 题。\ https://www.luogu.com.cn/problem/P1419 10\:18~11\:25:AC。单调队列 + 二分题。\ https://www.luogu.com.cn/problem/P1052 11\:33~11\:58:AC。单调队列优化 dp + 数学题。

12 日

https://www.luogu.com.cn/problem/P1083 20\:58~21\:18:AC。二分 + 差分题。

13 日

https://codeforces.com/problemset/problem/939/E 10\:12~10\:25:AC。数学 + 双指针题。\ https://www.luogu.com.cn/problem/P3138 10\:50~11\:17:AC。离散化 + 前缀和题。\ https://codeforces.com/problemset/problem/438/D 11\:23~11\:52:AC。线段树题。\ https://www.luogu.com.cn/problem/P1414 14\:17~14\:27:AC。数学题。

14 日 ~ 18 日

FOI,在那边的机房上洛谷被锁了。

19 日

https://codeforces.com/problemset/problem/915/E 11\:51~12\:54:AC。动态开点线段树题。

20 日

https://www.luogu.com.cn/problem/P2051 20\:58~21\:37:AC。dp 题。

21 日

FOI。

22 日

复活啦。

https://codeforces.com/problemset/problem/786/B 9\:40~10\:29:AC。线段树优化建图题。\ https://vjudge.net/problem/LibreOJ-133 10\:43~10\:50:AC。二维树状数组模板题。\ https://vjudge.net/problem/LibreOJ-121 14\:30~15\:18:AC。时间分治线段树 + 按秩合并并查集。\ https://vjudge.net/problem/HDU-5306 15\:30~17\:00\&22\:10~22\:33:AC。线段树进阶题。

23 日

打洛谷 NOIP 模拟赛 + 补题。

24 日

https://vjudge.net/problem/LibreOJ-6029 15\:23~16\:18:AC。势能线段树题。

25 日

https://www.luogu.com.cn/problem/P8969 昨天 20\:00~21\:40 \& 今天 10\:56~10\:57:AC。线段树进阶题。

26 日

https://www.luogu.com.cn/problem/P4198 13\:00~14:02\&15\:24~15\:47:AC。线段树经典进阶题。\ https://codeforces.com/problemset/problem/992/E 14\:05~15\:23\&15\:48~16\:01:AC。线段树 + 时间复杂度分析。\ https://www.luogu.com.cn/problem/P7530 16\:02~17\:00\&18\:40~19\:42:AC。线段树 + 计数题。

31 日

验题。\ https://www.luogu.com.cn/problem/P1494 09\:34~09\:45:AC。莫队题。 https://www.luogu.com.cn/record/227919905 10\:41~11\:42:AC。队列 + 单调性分析题。\ https://www.luogu.com.cn/problem/P3197 14\:41~14\:43:AC。简单计数题。\ https://www.luogu.com.cn/problem/P1450 14\:44~15\:00:AC。容斥题。\ https://www.luogu.com.cn/problem/P4071 15\:01~15\:07:AC。简单计数题。\ https://www.luogu.com.cn/remoteJudgeRedirect/atcoder/agc025_b 17\:00~17\:11:AC。数学 + 枚举题。