码迷,mamicode.com
首页 >  
搜索关键字:travel    ( 620个结果
Gym 100342I Travel Agency
题意读懂了就好做了,就是求一下点双连通分量。维护一下一颗子树的结点数,对于一个结点当u是割点的时候,统计一下u分割的连通分量v,每得到一个连通分量的结点数cnt(v)和之前连通分量结点数sum相乘一下就好。最后加一下和u的子树上的连通分量总数和其它的结点的乘积。B,C中其中一者可以是A,所有最后还要...
分类:其他好文   时间:2015-08-30 15:47:00    阅读次数:104
pat1030. Travel Plan (30)
1030. Travel Plan (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA traveler's map gives the distances between cities along the highways...
分类:其他好文   时间:2015-08-28 22:56:46    阅读次数:146
1030. Travel Plan (30)
原题如下: A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a program to help a traveler to decide the sh...
分类:其他好文   时间:2015-08-25 19:34:41    阅读次数:194
PAT 1030. Travel Plan (30)
1030. Travel Plan (30)A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are supp...
分类:其他好文   时间:2015-08-20 22:25:17    阅读次数:220
LAB - CCNP BGP Case Study
TopologyObjectives:Plan, design, and implement the internation Travel Agency core network.Plan, design, nad implement the Travel Data Providers netwro...
分类:其他好文   时间:2015-08-20 10:27:15    阅读次数:231
The Himalayas (zoj 3809)
The HimalayasTime Limit:2 Seconds Memory Limit:65536 KBAs an artist, Bob usually need to travel around the world. He made a lot of sketch of scenery o...
分类:其他好文   时间:2015-08-19 19:42:03    阅读次数:167
poj2686(Traveling by Stagecoach)状态压缩dp
Description Once upon a time, there was a traveler.  He plans to travel using stagecoaches (horse wagons). His starting point and destination are fixed, but he cannot determine his route. Your...
分类:其他好文   时间:2015-08-19 16:46:40    阅读次数:175
CCNP - LAB BGP Route Reflectors and Route Filters
TopologyObjectivesConfigure iBGP routers to use a route reflector and simple router filter.BackgroundThe International Travel Agency maintains a full-...
分类:其他好文   时间:2015-08-18 11:39:44    阅读次数:246
hdu5380 贪心+双端队列
http://acm.hdu.edu.cn/showproblem.php?pid=5380 Problem Description There are n+1 cities on a line. They are labeled from city 0 to city n. Mph has to start his travel from city 0, passing city...
分类:其他好文   时间:2015-08-18 10:16:33    阅读次数:153
hdu 2433 Travel (最短路径树)
hdu 2433 TravelDescription One day, Tom traveled to a country named BGM. BGM is a small country, but there are N (N <= 100) towns in it. Each town products one kind of food, the food will be tra...
分类:其他好文   时间:2015-08-17 21:48:16    阅读次数:173
620条   上一页 1 ... 33 34 35 36 37 ... 62 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!