里是网络流学习笔记II。上一篇笔记写够一百题了,故开个新坑。 本文中各种约定同上一篇笔记中一致。 现在开始! CI.[国家集训队]部落战争 第一题,
幂函数 定义 形如 $f(x)=x^a$的关于x的函数满足$a为常数, a\in \mathbb{R}$ 性质 $\begin{cases}当a>0时过(0,0),(1,1)
上一篇笔记因为写的太多已经卡了起来……不得不另开新坑了。 LI.CF115E Linear Kingdom Races 思路1. 设$f[i][j]$表示: 当前DP到第$i$位,且最右边的一个没有修
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 $ .
P3966-[TJOI2013]单词 题目: 题目描述: 小张最近在忙毕设,所以一直在读论文。一篇论文是由许多单词组成但小张发现一个单词会在论文中