数据结构
拥抱技术
学习就像谈恋爱!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Fence Repair
Fence RepairTime Limit : 4000/2000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 10 Accepted Submission(s) : 7Problem DescriptionFarmer John wants原创 2014-03-29 21:55:39 · 761 阅读 · 0 评论 -
前向星
#include #include #include #include using namespace std;const int maxn = 1000;const int maxm = 1000000;typedef struct{ int from; int to; int w;} node;node edge[maxm];int head[ma原创 2014-03-30 15:40:29 · 899 阅读 · 0 评论 -
http://poj.org/problem?id=1363
RailsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 24642 Accepted: 9662DescriptionThere is a famous railway station in PopPush City. Country there is转载 2014-07-30 13:31:08 · 792 阅读 · 0 评论 -
http://poj.org/problem?id=1330
Nearest Common AncestorsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 17818 Accepted: 9455DescriptionA rooted tree is a well-known data structure in c原创 2014-08-06 09:03:06 · 1227 阅读 · 0 评论 -
http://poj.org/problem?id=3125
Printer QueueTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3702 Accepted: 1995DescriptionThe only printer in the computer science students' union is e原创 2014-07-30 17:02:04 · 781 阅读 · 0 评论 -
http://poj.org/problem?id=1634
Who's the boss?Time Limit: 5000MS Memory Limit: 30000KTotal Submissions: 2626 Accepted: 1078DescriptionSeveral surveys indicate that the taller you are, the highe原创 2014-08-09 10:25:20 · 1477 阅读 · 0 评论 -
http://poj.org/problem?id=2255
Tree RecoveryTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11380 Accepted: 7141DescriptionLittle Valentine liked playing with binary trees very much.原创 2014-08-10 16:55:16 · 702 阅读 · 0 评论
分享