
贪心
小郑¥
这个作者很懒,什么都没留下…
展开
-
LOOPS HDU - 3853 dp求期望值
问题: Akemi Homura is a Mahou Shoujo (Puella Magi/Magical Girl). Homura wants to help her friend Madoka save the world. But because of the plot of the Boss Incubator, she is trapped in a labyrinth cal...原创 2020-03-24 11:43:17 · 265 阅读 · 0 评论 -
牛客 Cow Lineup 尺取法
问题: Farmer John has hired a professional photographer to take a picture of some of his cows. Since FJ's cows represent a variety of different breeds, he would like the photo to contain at least one cow from each distinct breed present in his herd. FJ's .原创 2020-10-24 08:11:29 · 265 阅读 · 0 评论 -
Paint the Tree CodeForces - 1244D 暴力+邻接表
问题: You are given a tree consisting of n vertices. A tree is an undirected connected acyclic graph. Example of a tree. You have to paint each vertex into one of...原创 2019-10-19 10:18:33 · 294 阅读 · 0 评论 -
Watering Grass UUV 1038 贪心
问题: n sprinklers are installed in a horizontal strip of grass l meters long and w meters wide. Each sprinkler is installed at the horizontal center line of the strip. For each sprinkler we are given ...原创 2019-07-19 08:38:56 · 155 阅读 · 0 评论