04 2015 档案
摘要:Problem DescriptionThe French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulip...
阅读全文
摘要:题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=1020自己的代码:#include#includeusing namespace std;int T;string s;int main(){ cin>>T; while(T--) { ...
阅读全文
摘要:计数排序是输入增强的一个例子,针对待排序列表(A[])的每一个元素,算出列表中小于该元素的元素个数,并把结果记录在一张表(count[])中,个数之处了该数在有序表中的位置。例如:A[7]={62,31,84,96,19,47}其中62有3个数字小于62,分别是19 31 47,A[0]=62,co...
阅读全文
摘要:BitsetTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8457Accepted Submission(s): 6552Problem Desc...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2050折线分割平面Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s)...
阅读全文
摘要:Problem DescriptionHDU 2006'10 ACM contest的颁奖晚会隆重开始了!为了活跃气氛,组织者举行了一个别开生面、奖品丰厚的抽奖活动,这个活动的具体要求是这样的:首先,所有参加晚会的人员都将一张写有自己名字的字条放入抽奖箱中;然后,待所有字条加入完毕,每人从箱中取一个...
阅读全文