![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
串和数组
Are_you_ready
这个作者很懒,什么都没留下…
展开
-
剪花布条 HDU-2087
剪花布条 HDU-2087一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢?Input输入中含有一些数据,分别是成对出现的花布条和小饰条,其布条都是用可见ASCII字符表示的,可见的ASCII字符有多少个,布条的花纹也有多少种花样。花纹条和小饰条不会超过1000个字符长。如果遇见#字符,则不再进行工作...原创 2020-04-25 17:17:32 · 275 阅读 · 1 评论 -
Oulipo HDU-1686
Oulipo HDU-1686The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter ‘e’. He was a member of the Oulipo group. A quote from the book:Tout avait Pair norma...原创 2020-04-25 17:15:28 · 93 阅读 · 0 评论 -
Power Strings (poj)
Power Strings poj-2406Given two strings a and b we define ab to be their concatenation. For example, if a = “abc” and b = “def” then ab = “abcdef”. If we think of concatenation as multiplication, ex...原创 2020-04-24 22:58:16 · 154 阅读 · 0 评论 -
数据结构实验之数组三:快速转置
数据结构实验之数组三:快速转置Time Limit: 1000 ms Memory Limit: 65536 KiBProblem Description转置运算是一种最简单的矩阵运算,对于一个mn的矩阵M( 1 = < m < = 10000,1 = < n < = 10000 ),它的转置矩阵T是一个nm的矩阵,且T( i , j )=M( j , i )。显然,...原创 2020-03-25 21:00:10 · 278 阅读 · 0 评论 -
Power Strings
Power StringsTime Limit: 1000 ms Memory Limit: 65536 KiBProblem DescriptionGiven two strings a and b we define ab to be their concatenation. For example, if a = “abc” and b = “def” then ab = “abcde...原创 2020-03-21 15:00:54 · 171 阅读 · 0 评论 -
bLue的文件查找器
bLue的文件查找器Time Limit: 1000 ms Memory Limit: 65536 KiBSubmit StatisticProblem DescriptionbLue 的电脑里存了各种各样的文件,随着文件越来越多,查找文件也成了一个麻烦事。现在,他想要查找所有指定格式(扩展名)的文件,不过他并不会使用文件管理器自带的搜索功能,所以他想求你写一个文件查找器,来帮他查找所有...原创 2020-03-20 20:49:26 · 125 阅读 · 0 评论 -
字符串扩展
字符串扩展Time Limit: 1000 ms Memory Limit: 65536 KiBSubmit StatisticProblem DescriptionTom有些时候为了记录的方便,常常将一些连续的字符用扩展符’-‘简单表示。比如abcdefg可以简写为a-g,即用起始的字符和终止字符中间加上一个扩展符’-‘来表示这个字符串。但是为了处理的方便,Tom又必须将这些我们简单记法...原创 2020-03-20 09:24:34 · 275 阅读 · 0 评论 -
数据结构实验之串二:字符串匹配
数据结构实验之串二:字符串匹配Time Limit: 1000 ms Memory Limit: 65536 KiBProblem Description给定两个字符串string1和string2,判断string2是否为string1的子串。Input输入包含多组数据,每组测试数据包含两行,第一行代表string1,第二行代表string2,string1和string2中保证不出现...原创 2020-03-19 08:43:35 · 362 阅读 · 0 评论