上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 77 下一页
摘要: Going HomeTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 20115Accepted: 10189DescriptionOn a grid map there are n little men and n houses. I... 阅读全文
posted @ 2015-11-12 22:12 handsomecui 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 奔小康赚大钱Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5865Accepted Submission(s): 2589 Problem De... 阅读全文
posted @ 2015-11-12 21:12 handsomecui 阅读(418) 评论(0) 推荐(0) 编辑
摘要: Air RaidTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 7511Accepted: 4471DescriptionConsider a town where all the streets are one-way and ea... 阅读全文
posted @ 2015-11-12 19:30 handsomecui 阅读(362) 评论(0) 推荐(0) 编辑
摘要: Save Princess时间限制:1000 ms | 内存限制:65535 KB难度:2描述Yesterday, the princess was kidnapped by a devil. The prince has to rescue our pretty princess."OK, if ... 阅读全文
posted @ 2015-11-12 19:02 handsomecui 阅读(409) 评论(0) 推荐(0) 编辑
摘要: AsteroidsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 18183Accepted: 9905DescriptionBessie wants to navigate her spaceship through a dange... 阅读全文
posted @ 2015-11-12 13:43 handsomecui 阅读(591) 评论(0) 推荐(0) 编辑
摘要: Girls and BoysTime Limit: 20000/10000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9245Accepted Submission(s): 4240Pr... 阅读全文
posted @ 2015-11-11 22:22 handsomecui 阅读(312) 评论(0) 推荐(0) 编辑
摘要: CoursesTime Limit: 20000/10000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5214Accepted Submission(s): 2502Problem D... 阅读全文
posted @ 2015-11-11 21:30 handsomecui 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 过山车Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 15107Accepted Submission(s): 6623Problem Descri... 阅读全文
posted @ 2015-11-11 20:53 handsomecui 阅读(298) 评论(0) 推荐(0) 编辑
摘要: unique() 去重函数:unique()函数是一个去重函数,STL中unique的函数 unique的功能是去除相邻的重复元素(只保留一个),还有一个容易忽视的特性是它并不真正把重复的元素删除。他是c++中的函数,所以头文件要加#include,具体用法如下: int num[100]; uni... 阅读全文
posted @ 2015-11-11 13:42 handsomecui 阅读(735) 评论(0) 推荐(0) 编辑
摘要: 士兵杀敌(四)时间限制:2000 ms | 内存限制:65535 KB难度:5描述南将军麾下有百万精兵,现已知共有M个士兵,编号为1~M,每次有任务的时候,总会有一批编号连在一起人请战(编号相近的人经常在一块,相互之间比较熟悉),最终他们获得的军功,也将会平分到每个人身上,这样,有时候,计算他们中的... 阅读全文
posted @ 2015-11-10 21:21 handsomecui 阅读(282) 评论(0) 推荐(0) 编辑
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 77 下一页