上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 56 下一页
摘要: Uncle Tom's Inherited Land*Time Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 11Accepted Submission(s) : 7Special JudgeProblem DescriptionYour old uncle Tom inherited a piece of land from his great-great-uncle. Originally, the property had been in 阅读全文
posted @ 2013-04-11 21:48 Jack Ge 阅读(339) 评论(0) 推荐(0) 编辑
摘要: More lumber is requiredTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 102400/102400 K (Java/Others)Total Submission(s): 280Accepted Submission(s): 78Problem Description“More lumber is required” When the famous warcrafts player Sky wants to build a Central Town, he finds there is not enough lu 阅读全文
posted @ 2013-04-11 14:38 Jack Ge 阅读(524) 评论(0) 推荐(0) 编辑
摘要: Paint The WallTime Limit: 20000/10000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 120Accepted Submission(s): 22Problem DescriptionAs a amateur artist, Xenocide loves painting the wall. The wall can be considered as a line consisting of n nodes. Each node has its ow 阅读全文
posted @ 2013-04-11 13:40 Jack Ge 阅读(335) 评论(0) 推荐(0) 编辑
摘要: Number SequenceTime Limit: 10000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 63Accepted Submission(s): 28Problem DescriptionGiven a number sequence b1,b2…bn.Please count how many number sequences a1,a2,...,ansatisfy the condition that a1*a2*...*an=b1*b2*…*bn(a 阅读全文
posted @ 2013-04-11 13:07 Jack Ge 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 50 years, 50 colorsTime Limit : 2000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 12Accepted Submission(s) : 8Problem DescriptionOn Octorber 21st, HDU 50-year-celebration, 50-color balloons floating around the campus, it's so nice, isn't it? To celebrate t 阅读全文
posted @ 2013-04-11 12:20 Jack Ge 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Machine ScheduleTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 30Accepted Submission(s) : 19Problem DescriptionAs we all know, machine scheduling is a very classical problem in computer science and has been studied for a very long history. Scheduli 阅读全文
posted @ 2013-04-10 22:56 Jack Ge 阅读(415) 评论(0) 推荐(0) 编辑
摘要: Drainage DitchesTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 51Accepted Submission(s) : 33Problem DescriptionEvery time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is cove 阅读全文
posted @ 2013-04-10 13:38 Jack Ge 阅读(1965) 评论(0) 推荐(0) 编辑
摘要: Safe Or UnsafeTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 999Accepted Submission(s): 378 Problem DescriptionJavac++ 一天在看计算机的书籍的时候,看到了一个有趣的东西!每一串字符都可以被编码成一些数字来储存信息,但是不同的编码方式得到的储存空间是不一样的!并且当储存空间大于一定的值的时候是不安全的!所以Javac++ 就想是否有一种方式是可以得到字符编码最小的空间值!显 阅读全文
posted @ 2013-04-09 21:15 Jack Ge 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 哈夫曼编码简介(转)2010年03月17日|本网站遵守CC版权协议转载请注明出自www.thecodeway.com哈弗曼编码几乎是所有压缩算法的基础,其实这个算法并不复杂,简单的理解就是,如何用更短的bit来编码数据。 我们知道普通的编码都是定长的,比如常用的ASCII编码,每个字符都是8个bit:字符编码A00101001B00101010C00101011……这样,计算机就能很方便的把由0和1组成的数据流解析成原始信息,但我们知道,在很多情况下,数据文件中的字符出现的概率是不均匀的,比如在一篇英语文章中,字母“E”出现的频率最高,“Z”最低,如果我们使用不定长的bit编码,频率高的字母用 阅读全文
posted @ 2013-04-09 15:41 Jack Ge 阅读(915) 评论(0) 推荐(0) 编辑
摘要: Balanced NumberTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 965Accepted Submission(s): 404 Problem DescriptionA balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each 阅读全文
posted @ 2013-04-03 14:39 Jack Ge 阅读(1702) 评论(7) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 56 下一页