https://www.gravatar.com/avatar/8f3abece0f8608ce4b9c1e3212fd1b72?s=240&d=mp

flow2

里是网络流学习笔记II。上一篇笔记写够一百题了,故开个新坑。 本文中各种约定同上一篇笔记中一致。 现在开始! CI.[国家集训队]部落战争 第一题,

数学第4章

幂函数 定义 形如 $f(x)=x^a$的关于x的函数满足$a为常数, a\in \mathbb{R}$ 性质 $\begin{cases}当a>0时过(0,0),(1,1)

dp2

上一篇笔记因为写的太多已经卡了起来……不得不另开新坑了。 LI.CF115E Linear Kingdom Races 思路1. 设$f[i][j]$表示: 当前DP到第$i$位,且最右边的一个没有修

CF600E-Lomsat gelral

CF600E-Lomsat gelral 题目: 题目描述: You are given a rooted tree with root in vertex $ 1 $ . Each vertex is coloured in some colour. Let’s call colour $ c $ dominating in the subtree of vertex $ v $ if there are no other colours that appear in the subtree of vertex $ v $ more times than colour $ c $ .