[hdu P4081] Qin Shi Huang’s National Road System Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description ...
分类:
其他好文 时间:
2017-11-01 22:55:14
阅读次数:
241
公路自行车(Road bicycle) 用来在平滑公路路面上使用的车种,由于平滑路面阻力较小,公路自行车的设计更大考量高速,往往使用可减低风阻的下弯把手,较窄的高气压低阻力外胎,挡位较高,且轮径比一般的登山越野车都大,由于车架和配件不须像山地车一样需要加强,所以往往重量较轻,在公路上骑行时效率很高。 ...
分类:
其他好文 时间:
2017-10-30 15:04:34
阅读次数:
669
//神题目(题目一开始就理解错了)。。。 题目描述 Why did the cow cross the road? Well, one reason is that Farmer John's farm simply has a lot of roads, making it impossible ...
分类:
其他好文 时间:
2017-10-30 14:19:58
阅读次数:
251
Qin Shi Huang's National Road System Problem Description During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdom ...
分类:
其他好文 时间:
2017-10-29 23:24:02
阅读次数:
270
Problem Description Carcassonne is a tile-based board game for two to five players.Square tiles are printed by city segments,road segments and field s ...
分类:
其他好文 时间:
2017-10-29 20:19:25
阅读次数:
181
原题地址:http://abc074.contest.atcoder.jp/tasks/arc083_b Time limit : 2sec / Memory limit : 256MB Score : 500 points Problem Statement In Takahashi Kingdo ...
分类:
Web程序 时间:
2017-10-29 11:20:58
阅读次数:
276
It's almost summer time, and that means that it's almost summer construction time! This year, the good people who are in charge of the roads on the tr ...
分类:
其他好文 时间:
2017-10-28 19:49:56
阅读次数:
224
题目大意: 给你一棵n个结点的树,请你搞一些破坏。 你可以从中切掉一些边,为了掩人耳目,你需要保证任何一个结点到根结点的路径上最多只能有一条边被切断。 问以1..n号结点为根时,分别有多少种搞破坏的方案? 思路: 考虑以1为根的情况,用f[i]表示以i为根的子树中合法的搞破坏方案数,j是i的子树,则 ...
分类:
其他好文 时间:
2017-10-26 15:41:58
阅读次数:
196
Description N个点,M条边的有向图,求点1到点N的最短路(保证存在)。1<=N<=1000000,1<=M<=10000000 N个点,M条边的有向图,求点1到点N的最短路(保证存在)。1<=N<=1000000,1<=M<=10000000 Input 第一行两个整数N、M,表示点数和 ...
分类:
其他好文 时间:
2017-10-20 21:42:19
阅读次数:
297
P3663 [USACO17FEB]Why Did the Cow Cross the Road III S P3663 [USACO17FEB]Why Did the Cow Cross the Road III S P3663 [USACO17FEB]Why Did the Cow Cross ...
分类:
其他好文 时间:
2017-10-13 20:21:37
阅读次数:
208