2021九月暂记

9.4~9.6

T1 集合
T2 树链剖分,树状数组
T3 函数,性质

2021.9.7-2021.9.9

T1 数学,期望 A:推理与性质
T2 字符串,数据结构 A:暴力,遍历顺序优化
T3 合法括号,图论,最短合法路径
T3 容斥计数

2021.9.10-2021.9.13

T1 性质,贪心 A’
comments:
a method of minimum cost is that A moves several steps and stops at a node,which its id is smaller than the start node,so that B can take more steps to reach the node 1.Figure out that for each i,which means that we start from the original node and on the way of moving,the maximum id is smaller than i,f(i) is the smallest number on the way.Then use greedy algorithm,we set a limit at the beginning,and let it be s + t,A and B try to move without the sum of the nodes where they are exceeding the limit and if neither of them can move,just loose the limit,which means let it add 1;

  • T2 数学,gcd,枚举修改点,考虑贡献

T3 DP,二进制运算

2021.9.14-2021.9.17

  • T1 性质,贪心

T2 最小生成树,连通块,构造
T3 建图,DP 计数,容斥

2021.9.17-2021.9.19

T1 图论,性质,欧拉回路,简单环
T2 树的直径,性质
T3 区间 DP 进阶

2021.9.20

T1 DP A’ 薄弱
T2 折半搜索
T3 树形 DP
T4 线段树,二分

9.26

T1 性质,数学 A’
Comments:

1234567891011
11111
22222
33333
44444
5555
6666
777
888
99

发现最多使用不超过 4 种颜色

T2 函数,三分
T3 树上距离,树上差分
T4 线段树

P1525 [NOIP2010 提高组] 关押罪犯
comments:
并查集使用技巧:敌人的敌人是朋友
考虑二分图判定+二分

2021.9.29

T1 DP A’ 薄弱
T2 贪心
T3 线段树,贪心,二分
T4 差分,DP,树形结构

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值