随笔分类 -  字符串

摘要:题意: 给出一个含$N$个元素的数组$A$,下标从$1$开始,请找出下列式子的最大值: $$ (A[l_1]\oplus A[l_1+1]\oplus\dots\oplus A[r_1])+(A[l_2]\oplus A[l_2+1]\oplus\dots A[r_2]) $$ 其中$1\leq l 阅读全文
posted @ 2020-01-21 21:12 Frontierone 阅读(146) 评论(0) 推荐(0)
摘要:Give you n ( n < 10000) necklaces ,the length of necklace will not large than 100,tell me How many kinds of necklaces total have.(if two necklaces can 阅读全文
posted @ 2019-01-25 17:11 Frontierone 阅读(170) 评论(0) 推荐(0)
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=1106看到那道题以前没过,就拿出来搞一搞,结果疯狂WA,看了讨论区的所有测试数据,完美通过,还测试了要不要去重。最后发现一个说如果字符长度为1,直接输出。我就没在意(因为不可能... 阅读全文
posted @ 2018-07-28 09:31 Frontierone 阅读(131) 评论(0) 推荐(0)
摘要:题目链接:点击打开链接 试 制 品时间限制:1000 ms | 内存限制:65535 KB难度:4描述ZZ大学的Dr.Kong最近发现实验室的很多试制品都已经用完。由于项目经费有限,为了节省,Dr.Kong决定利用实验室现有的试制品来生成所缺的试制品。为此,Dr.... 阅读全文
posted @ 2018-07-13 21:13 Frontierone 阅读(128) 评论(0) 推荐(0)
摘要:题目链接:点击打开链接 All in AllTime Limit: 1000MS Memory Limit: 30000K Total Submissions: 35348 Accepted: 14736 DescriptionYou ha... 阅读全文
posted @ 2018-07-13 21:10 Frontierone 阅读(119) 评论(0) 推荐(0)
摘要:题目链接:点击打开链接 Blue JeansTime Limit: 1000MS Memory Limit: 65536K Total Submissions: 20430 Accepted: 9053 DescriptionThe G... 阅读全文
posted @ 2018-07-13 21:08 Frontierone 阅读(142) 评论(0) 推荐(0)
摘要:题目链接:点击打开链接 Spell checkerTime Limit: 2000MS Memory Limit: 65536K Total Submissions: 27197 Accepted: 9946 DescriptionYo... 阅读全文
posted @ 2018-07-10 15:08 Frontierone 阅读(135) 评论(0) 推荐(0)
摘要:Problem C: 试 制 品Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 7 Solved: 3[Submit][Status][Web Board]DescriptionZZ大学的Dr.Kong最近发现实验室的很... 阅读全文
posted @ 2018-05-15 17:23 Frontierone 阅读(590) 评论(0) 推荐(0)