题意:给定一个邻接矩阵,即一幅有向图(有环),问最少的覆盖路径为几条,求出遍历顺序;思路:竞赛图存在哈密顿路,一定能找到一条遍历所有点的路。#include#include#includeusing namespace std;int mm[1005][1005];char ch[1005];int...
分类:
其他好文 时间:
2015-09-01 21:30:09
阅读次数:
265
Problem Description:Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Yo...
分类:
其他好文 时间:
2015-09-01 14:00:47
阅读次数:
256
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2141Can you find it?DescriptionGive you three sequences of numbers A, B, C, then we give you a number X....
分类:
其他好文 时间:
2015-08-30 22:42:59
阅读次数:
127
Anya and GhostsTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 508CDescriptionAnya loves to watch ho...
分类:
其他好文 时间:
2015-08-30 21:15:48
阅读次数:
157
Making Sequences is FunTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 373BDescriptionWe'll defineS(...
分类:
其他好文 时间:
2015-08-30 21:13:52
阅读次数:
153
DZY Loves ChemistryTime Limit:1000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 445BDescriptionDZY loves chemistr...
分类:
其他好文 时间:
2015-08-30 21:05:49
阅读次数:
132
Lucky TicketTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 146ADescriptionPetya loves lucky numbers...
分类:
其他好文 时间:
2015-08-30 21:05:41
阅读次数:
137
Geometric ProgressionTime Limit:1000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 567CDescriptionPolycarp loves g...
分类:
其他好文 时间:
2015-08-30 21:03:53
阅读次数:
200
1048. Find Coins (25)时间限制50 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueEva loves to collect coins from all over the universe, including some ot...
分类:
其他好文 时间:
2015-08-30 21:02:01
阅读次数:
137
RatingTime Limit:5000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 4870DescriptionA little girl loves programming competi...
分类:
其他好文 时间:
2015-08-30 20:52:13
阅读次数:
148