题意 Language:DefaultNaptime Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3649Accepted: 1350DescriptionGoneril is a very sleep deprived cow. ...
分类:
其他好文 时间:
2019-04-07 22:05:19
阅读次数:
200
spring data jpa、Hibernate开启全球唯一UUID设置 原文链接:https://www.cnblogs.com/blog5277/p/10662079.html 原文作者:博客园--曲高终和寡 *******************如果你看到这一行,说明爬虫在本人还没有发布完成 ...
分类:
编程语言 时间:
2019-04-06 17:02:55
阅读次数:
156
"题目链接" 题意分析 题意 给你一棵树 每一次都会删除一个叶子节点 同时树上存在一些有向边$(a,b)$ 必须满足$a$在$b$之前删除 问每一个节点作为根节点时是否存在合法的删边情况 使得跟、根节点被最后一个删除 换根$dp$ ? $No$ ! 首先有向边必定形成一个或者多个$DAG$ 所以先判 ...
分类:
其他好文 时间:
2019-03-28 09:43:55
阅读次数:
179
FJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annual"Farmer of the Year" competition. In this contest every farmer arranges his cows in a line ...
分类:
其他好文 时间:
2019-03-28 00:21:33
阅读次数:
154
列一下曾经做过的不会的图论题 "bzoj4398: 福慧双修" "bzoj4681: [Jsoi2010]旅行" "NEERC 2017 Problem J Journey from Petersburg to Moscow" ...
分类:
其他好文 时间:
2019-03-19 10:37:02
阅读次数:
106
题目描述 Bessie is planning the annual Great Cow Gathering for cows all across the country and, of course, she would like to choose the most convenient lo ...
分类:
其他好文 时间:
2019-03-17 19:46:23
阅读次数:
190
Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a numb ...
分类:
其他好文 时间:
2019-03-11 00:44:09
阅读次数:
175
问题描述: Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on ...
分类:
其他好文 时间:
2019-03-07 14:17:52
阅读次数:
162
"题面" Solution: 这是一道很好的dp题。 一开始看不懂题面没有一点思路,看了好久题解才看懂题目... $y[i]$ 为第 $i$ 个词结尾,$l[i]$ 为第 $i$ 个词长度。 设状态 $f[i][j]$ 为长度为 $i$ 的,以 $j$ 结尾的一句诗的方案数,那么 $$ f[i][Y ...
分类:
其他好文 时间:
2019-03-05 23:01:50
阅读次数:
236
P4186 [USACO18JAN]Cow at Large G(树形DP) "Luogu4186" 设dp[i]表示i点需要放多少个农民.则有 $if(near[i] dep[i] ...
分类:
其他好文 时间:
2019-03-05 19:57:47
阅读次数:
167