上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 33 下一页
摘要: Sorting the TombstonesTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1252DescriptionThere is time to throw... 阅读全文
posted @ 2015-12-18 16:27 tcgoshawk 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 用 k × 1 的矩形覆盖 n × n 的正方形棋盘用 k × 1 的小矩形覆盖一个 n × n 的正方形棋盘,往往不能实现完全覆盖(比如,有时候 n × n 甚至根本就不是 k 的整倍数)。解题思路:转自:http://www.matrix67.com/blog/archives/5900用 k ... 阅读全文
posted @ 2015-12-17 16:57 tcgoshawk 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Ancient NecropolisTime Limit:5000MSMemory Limit:4096KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1249DescriptionAerophotography data provid... 阅读全文
posted @ 2015-12-15 18:06 tcgoshawk 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cppblog.com/ylfeng/archive/2010/03/26/110592.html声明#include using std::bitset;bitset的定义和初始化bitsetbitvec; //32位,全为0。给出的长度值必须是常量表达式。正如这里给出... 阅读全文
posted @ 2015-12-13 20:24 tcgoshawk 阅读(303) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;const int maxn = 1e4;struct Meeting{ int st,en,idx;}meets[maxn];bool cmp(Meeting a,Meeting b){ //对会议结束时间从小到大排序 retu... 阅读全文
posted @ 2015-12-12 18:08 tcgoshawk 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 吉哥系列故事——完美队形ITime Limit: 3000/1000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2707Accepted Submission(s): 886Proble... 阅读全文
posted @ 2015-12-11 16:57 tcgoshawk 阅读(147) 评论(0) 推荐(0) 编辑
摘要: /* LCS*/#includeusing namespace std;const int maxn = 1000;int dp[maxn][maxn], c[maxn][maxn];int str1[maxn],str2[maxn];int k;void dfs(int i,int j){ ... 阅读全文
posted @ 2015-12-11 12:16 tcgoshawk 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Rope in the LabyrinthTime Limit:500MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1145DescriptionA labyrinth with rectang... 阅读全文
posted @ 2015-12-09 21:51 tcgoshawk 阅读(163) 评论(0) 推荐(0) 编辑
摘要: A -RelationsTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1142DescriptionBackgroundConsider a specific se... 阅读全文
posted @ 2015-12-09 20:06 tcgoshawk 阅读(133) 评论(0) 推荐(0) 编辑
摘要: ZYB's PremutationTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 637Accepted Submission(s): 301P... 阅读全文
posted @ 2015-12-08 14:55 tcgoshawk 阅读(138) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 33 下一页