摘要: HDU2087 剪花布条 一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢? Input 输入中含有一些数据,分别是成对出现的花布条和小饰条,其布条都是用可见ASCII字符表示的,可见的ASCII字符有多少个 阅读全文
posted @ 2018-08-11 17:18 caomp 阅读(101) 评论(0) 推荐(0)
摘要: UVaLive3942 Remember the Word Neal is very curious about combinatorial problems, and now here comes a problem about words. Knowing that Ray has a phot 阅读全文
posted @ 2018-08-11 17:02 caomp 阅读(140) 评论(0) 推荐(0)
摘要: HDU5763 Another Meaning As is known to all, in many cases, a word has two meanings. Such as “hehe”, which not only means “hehe”, but also means “excus 阅读全文
posted @ 2018-08-11 16:27 caomp 阅读(113) 评论(0) 推荐(0)
摘要: HDU1711 Number Sequence Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 include include include include i 阅读全文
posted @ 2018-08-11 16:11 caomp 阅读(131) 评论(0) 推荐(0)
摘要: CSU1216 异或最大值 Description 给定一些数,求这些数中两个数的异或值最大的那个值 Input 多组数据 。第一行为数字个数n,1 include include define ll long long using namespace std; const int MAXN = 4 阅读全文
posted @ 2018-08-11 15:57 caomp 阅读(502) 评论(0) 推荐(0)
摘要: HDU1251 统计难题 Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). Input 输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表的是老师交给I 阅读全文
posted @ 2018-08-11 15:50 caomp 阅读(117) 评论(0) 推荐(0)
摘要: POJ1200 Crazy Search | Time Limit: 1000MS | | Memory Limit: 65536K | | | | | | Total Submissions: 32331 | | Accepted: 8902 | Description Many people l 阅读全文
posted @ 2018-08-11 15:41 caomp 阅读(201) 评论(0) 推荐(0)