上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页
摘要: HopscotchTime Limit:1000MSMemory Limit:65536KTotal Submissions:2845Accepted:1995DescriptionThe cows play the child's game of hopscotch in a non-tradit... 阅读全文
posted @ 2016-01-22 14:55 御心飞行 阅读(337) 评论(0) 推荐(0) 编辑
摘要: Backward Digit SumsTime Limit:1000MSMemory Limit:65536KTotal Submissions:5495Accepted:3184DescriptionFJ and his cows enjoy playing a mental game. They... 阅读全文
posted @ 2016-01-22 12:44 御心飞行 阅读(265) 评论(0) 推荐(0) 编辑
摘要: Smallest DifferenceTime Limit:1000MSMemory Limit:65536KTotal Submissions:6740Accepted:1837DescriptionGiven a number of distinct decimal digits, you ca... 阅读全文
posted @ 2016-01-22 12:10 御心飞行 阅读(278) 评论(0) 推荐(0) 编辑
摘要: Meteor ShowerTime Limit:1000MSMemory Limit:65536KTotal Submissions:12816Accepted:3451DescriptionBessie hears that an extraordinary meteor shower is co... 阅读全文
posted @ 2016-01-22 10:59 御心飞行 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Red and BlackTime Limit:1000MSMemory Limit:30000KTotal Submissions:27891Accepted:15142DescriptionThere is a rectangular room, covered with square tile... 阅读全文
posted @ 2016-01-17 10:04 御心飞行 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 这是 H1 这是 H2 这是 H3 This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi po... 阅读全文
posted @ 2015-12-22 12:44 御心飞行 阅读(106) 评论(0) 推荐(0) 编辑
摘要: EquationsTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6927Accepted Submission(s): 2810Problem D... 阅读全文
posted @ 2015-12-21 22:14 御心飞行 阅读(207) 评论(0) 推荐(0) 编辑
摘要: PieTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7302Accepted Submission(s): 2732Problem Descrip... 阅读全文
posted @ 2015-12-21 21:17 御心飞行 阅读(375) 评论(0) 推荐(0) 编辑
摘要: STL之二分查找 (Binary search in STL)Section I正确区分不同的查找算法count,find,binary_search,lower_bound,upper_bound,equal_range本文是对Effective STL第45条的一个总结,阐述了各种查找算法的异同... 阅读全文
posted @ 2015-12-21 19:03 御心飞行 阅读(894) 评论(0) 推荐(0) 编辑
摘要: Can you find it?Time Limit: 10000/3000 MS (Java/Others)Memory Limit: 32768/10000 K (Java/Others)Total Submission(s): 19416Accepted Submission(s): 4891... 阅读全文
posted @ 2015-12-21 18:48 御心飞行 阅读(215) 评论(0) 推荐(0) 编辑
摘要: CoinsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10632Accepted Submission(s): 4230Problem Desc... 阅读全文
posted @ 2015-12-18 11:43 御心飞行 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 不容易系列之(3)—— LELE的RPG难题Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 39604Accepted Submission(s):... 阅读全文
posted @ 2015-12-13 21:36 御心飞行 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 输入样例1 12 13 2输出样例222f(x)打表找规律的 fx=x+1,fn(x)=x+n+1;然后用欧拉公式 1 #include 2 #include 3 using namespace std; 4 5 __int64 euler(__int64 n) 6 { 7 __in... 阅读全文
posted @ 2015-12-12 21:42 御心飞行 阅读(160) 评论(0) 推荐(0) 编辑
摘要: GTW likes gt Accepts: 54 Submissions: 782 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) 从前,有nnn只萌萌的GT,他们分成了两组在... 阅读全文
posted @ 2015-12-12 21:36 御心飞行 阅读(215) 评论(0) 推荐(0) 编辑
摘要: GTW likes math Accepts: 472 Submissions: 2140 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) 问题描述某一天,GTW听了数学特级教... 阅读全文
posted @ 2015-12-12 21:31 御心飞行 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1.prim算法求解,其思路与dijkstra差不多,不断贪心往已选定的集合众添加点,最终得到一棵最小生成树。具体为什么最小说不清==, 1 int map[105][105]; 2 int mincost[105]; 3 int vis[105]; 4 void prim() 5 { 6 ... 阅读全文
posted @ 2015-12-12 14:35 御心飞行 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 还是畅通工程Time Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 34391Accepted Submission(s): 15542Problem De... 阅读全文
posted @ 2015-12-12 14:09 御心飞行 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Constructing RoadsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18256Accepted Submission(s): 697... 阅读全文
posted @ 2015-12-12 12:51 御心飞行 阅读(131) 评论(0) 推荐(0) 编辑
摘要: The kth great numberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 8881Accepted Submission(s): 35... 阅读全文
posted @ 2015-12-11 21:08 御心飞行 阅读(522) 评论(0) 推荐(0) 编辑
摘要: CowsTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 15301Accepted: 5095DescriptionFarmer John's cows have discovered that the clover growing ... 阅读全文
posted @ 2015-12-11 12:15 御心飞行 阅读(192) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页