摘要: SightseeingTime Limit:2000MSMemory Limit:65536KTotal Submissions:6240Accepted:2197DescriptionTour operator Your Personal Holiday organises guided bus trips across the Benelux. Every day the bus moves from one citySto another cityF. On this way, the tourists in the bus can see the sights alongside th 阅读全文
posted @ 2013-04-29 22:28 Jack Ge 阅读(3744) 评论(0) 推荐(1) 编辑
摘要: Gold TransportationTime Limit:2000MSMemory Limit:65536KTotal Submissions:2407Accepted:858DescriptionRecently, a number of gold mines have been discovered in Zorroming State. To protect this treasure, we must transport this gold to the storehouses as quickly as possible. Suppose that the Zorroming St 阅读全文
posted @ 2013-04-29 21:59 Jack Ge 阅读(358) 评论(0) 推荐(0) 编辑
摘要: Checking an AlibiTime Limit:1000MSMemory Limit:65536KTotal Submissions:5685Accepted:2060DescriptionA crime has been comitted: a load of grain has been taken from the barn by one of FJ's cows. FJ is trying to determine which of his C (1 #include#include#includeusing namespace std;const int VM=520 阅读全文
posted @ 2013-04-29 21:43 Jack Ge 阅读(316) 评论(0) 推荐(0) 编辑
摘要: T-Shirt GumboTime Limit:1000MSMemory Limit:65536KTotal Submissions:2261Accepted:1056DescriptionBoudreaux and Thibodeaux are student volunteers for this year's ACM South Central Region's programming contest. One of their duties is to distribute the contest T-shirts to arriving teams. The T-sh 阅读全文
posted @ 2013-04-29 21:24 Jack Ge 阅读(272) 评论(0) 推荐(0) 编辑
摘要: Secret Milking MachineTime Limit:1000MSMemory Limit:65536KTotal Submissions:7681Accepted:2340DescriptionFarmer John is constructing a new milking machine and wishes to keep it secret as long as possible. He has hidden in it deep within his farm and needs to be able to get to the machine without bein 阅读全文
posted @ 2013-04-29 21:01 Jack Ge 阅读(688) 评论(0) 推荐(0) 编辑
摘要: Problem H 最长子串http://acm.fzu.edu.cn/contest/problem.php?cid=129&sortid=8Accept: 31Submit: 110Time Limit: 3000 mSecMemory Limit : 65536 KBProblem Description问题很简单,给你一个字符串s,问s的子串中不包含s1,s2...sn的最长串有多长。Input输入包含多组数据。第一行为字符串s,字符串s的长度1到10^6次方,第二行是字符串s不能包含的子串个数n,n<=1000。接下来n行字符串,长度不大于100。字符串由小写的英文字符 阅读全文
posted @ 2013-04-29 15:36 Jack Ge 阅读(481) 评论(0) 推荐(0) 编辑