码迷,mamicode.com
首页 >  
搜索关键字:constructing roads    ( 767个结果
第六周 程序阅读-深复制、友元、类模板(4)
代码   #include using namespace std; class example { public: example() { cout<<"Default Constructing! "<<endl; } example(int n) { i=n; cout<<"C...
分类:其他好文   时间:2015-04-15 09:40:13    阅读次数:117
[c++]容器类。继承类的构造和析构
#include using namespace std; class Base { int x; public: Base(int a) { x = a; cout<<"father constructing "<<x<<endl; } ~Base() { cout<<"father destruct...
分类:编程语言   时间:2015-04-09 19:58:44    阅读次数:183
poj 1251--Jungle Roads(求最小生成树)
Jungle RoadsTime Limit:1000MSMemory Limit:10000KTotal Submissions:20154Accepted:9291DescriptionThe Head Elder of the tropical island of Lagrishan has ...
分类:其他好文   时间:2015-04-09 00:55:19    阅读次数:196
Codeforces Round #216 (Div. 2)---C. Valera and Elections
The city Valera lives in is going to hold elections to the city Parliament.The city has n districts and n?-?1 bidirectional roads. We know that from any district there is a path along the roads to any...
分类:其他好文   时间:2015-04-07 13:57:10    阅读次数:158
hdu 1301 Jungle Roads 最小生成树
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1301The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was ...
分类:其他好文   时间:2015-04-05 21:40:44    阅读次数:133
hdu 2962 Trucking 最短路+二分。。Dijkstra+SPFA两种算法实现。
Problem Description A certain local trucking company would like to transport some goods on a cargo truck from one place to another. It is desirable to transport as much goods as possible each trip. Unfortunately, one cannot always use the roads in the shor...
分类:编程语言   时间:2015-04-05 09:16:13    阅读次数:208
Codeforces Round #186 (Div. 2)---D. Ilya and Roads
Everything is great about Ilya’s city, except the roads. The thing is, the only ZooVille road is represented as n holes in a row. We will consider the holes numbered from 1 to n, from left to right.Ily...
分类:其他好文   时间:2015-04-03 09:29:26    阅读次数:145
Sicily 1024. Magic Island
1024. Magic Island Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description There are N cities and N-1 roads in Magic-Island. You can go from one city to any other. One road only ...
分类:其他好文   时间:2015-03-31 09:03:59    阅读次数:173
hdu 1102 prime算法
Constructing Roads Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 15475    Accepted Submission(s): 5907 Problem Description Ther...
分类:编程语言   时间:2015-03-28 17:23:35    阅读次数:168
克鲁斯卡尔算法 有大坑 hdu 1102
Constructing Roads Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 15475    Accepted Submission(s): 5907 Problem Description There ...
分类:编程语言   时间:2015-03-28 15:50:30    阅读次数:124
767条   上一页 1 ... 55 56 57 58 59 ... 77 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!