HDU 4300 Clairewd‘s message 拓展KMP入门 题意 "原题链接" 这个题关键是要读懂题意,~~我做的时候就没有读懂,泪~~。题意是说给你的一个两个字符串,一个是26个字母密码表,依次对应替换的字母。然后给你一个字符串,这个字符串是不完整的(完整的应该是前半部分是加密的,后半 ...
分类:
其他好文 时间:
2020-01-31 22:46:56
阅读次数:
82
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12246707.html 1.平方和与立方和(21min) 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2007 Problem Description 给定 ...
分类:
其他好文 时间:
2020-01-31 22:46:41
阅读次数:
65
题面 Description As an eligible Ingress Resistance Agent you should know your power source, the Exotic Matter. We call it XM, which is the driving force ...
分类:
其他好文 时间:
2020-01-31 19:11:09
阅读次数:
86
Remember the story of Little Match Girl? By now, you know exactly what matchsticks the little match girl has, please find out a way you can make one s ...
分类:
编程语言 时间:
2020-01-31 10:39:41
阅读次数:
122
Period HDU 1358 KMP next数组性质的应用 "原题链接" 题意 题目的意思是给你一个字符串,判断这个字符串的前缀字符串中,哪些是周期串,输出这个前缀字符串的长度和这个前缀字符串中循环节的个数。 解题思路 思路参考:https://www.cnblogs.com/yym2013/p ...
分类:
编程语言 时间:
2020-01-30 21:08:37
阅读次数:
71
Shopping Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6348 Accepted Submission(s): 2215 Probl ...
分类:
其他好文 时间:
2020-01-30 18:59:46
阅读次数:
91
1.两点间距离(10min) 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2001 Problem Description 输入两点坐标(X1,Y1),(X2,Y2),计算并输出两点间的距离。 Input 输入数据有多组,每组占一行,由4个实数组成, ...
分类:
其他好文 时间:
2020-01-30 17:15:24
阅读次数:
49
题面 Description There are $k$ piles of stones in a circle, numbered from $0$ to $k 1$, where the number of the stones in each pile is $n$ initially. Yo ...
分类:
其他好文 时间:
2020-01-30 14:09:07
阅读次数:
88
士兵队列训练问题 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18547 Accepted Submission(s): 7903 Probl ...
分类:
其他好文 时间:
2020-01-30 11:15:24
阅读次数:
78
题面 Description Give you two arrays $A[0..2^m 1]$ and $B[0..2^m 1]$. Please calculate array $C[0..2^m 1]$: $$ C[k]=\sum_{i~and~j=k}A[i~xor~j] B[i~or~j] ...
分类:
其他好文 时间:
2020-01-29 23:16:53
阅读次数:
73