代码
#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
#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
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
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
题目链接: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
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
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
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
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
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