摘要: D3 T2 根据题意容易想到跑分层图,但是空间限制不允许建图,可以在搜索过程中转移存储相应信息 T3 考虑对暴力进行优化,对于两个互不影响的限制可以考虑分开处理,在扫描序列的过程中可以用类似于滑动窗口的方式去求解,求前缀和用树状数组即可 T4 wait... 阅读全文
posted @ 2024-08-07 22:00 Fantasy_Dreamland 阅读(52) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-06-29 17:05 Fantasy_Dreamland 阅读(26) 评论(0) 推荐(0)
摘要: \(x_2=x_1+1\) 当 \(\left\lfloor\dfrac{n}{x_1}\right\rfloor\) 与 \(\left\lfloor\dfrac{n}{x_2}\right\rfloor\) 相同时, \(\frac{n}{x1} - \frac{n}{x2} < 1\) 整理式 阅读全文
posted @ 2024-06-20 22:50 Fantasy_Dreamland 阅读(22) 评论(0) 推荐(0)
摘要: 真正的歌单, 左下角是还没收拾完的烂摊子 阅读全文
posted @ 2023-11-21 21:46 Fantasy_Dreamland 阅读(16) 评论(1) 推荐(0)