摘要:
链接: https://www.luogu.org/problem/P3808 题意: 给定n个模式串和1个文本串,求有多少个模式串在文本串里出现过。 思路: 模板, 代码: c++ include include include include // include include include 阅读全文
摘要:
链接: http://acm.hdu.edu.cn/showproblem.php?pid=4763 题意: It's time for music! A lot of popular musicians are invited to join us in the music festival. E 阅读全文
摘要:
链接: http://acm.hdu.edu.cn/showproblem.php?pid=4847 题意: Now, Doge wants to know how many words “doge” are there in a given article. Would you like to h 阅读全文
摘要:
链接: http://acm.hdu.edu.cn/showproblem.php?pid=3294 题意: One day, sailormoon girls are so delighted that they intend to research about palindromic strin 阅读全文
摘要:
链接: http://acm.hdu.edu.cn/showproblem.php?pid=4513 题意: 吉哥又想出了一个新的完美队形游戏! 假设有n个人按顺序站在他的面前,他们的身高分别是h[1], h[2] ... h[n],吉哥希望从中挑出一些人,让这些人形成一个新的队形,新的队形若满足以 阅读全文