09 2012 档案

poj 1006 Biorhythms(中国剩余定理)
摘要:BiorhythmsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 94863Accepted: 29139DescriptionSome people believe that there are three cycles in a... 阅读全文

posted @ 2012-09-27 23:27 NewPanderKing 阅读(216) 评论(0) 推荐(0)

c语言求最小公倍数,最大公约数
摘要:<1> 用辗转相除法求最大公约数 算法描述: m对n求余为a, 若a不等于0 则 m <- n, n <- a, 继续求余 否则 n 为最大公约数 <2> 最小公倍数 = 两个数的积 / 最大公约数 阅读全文

posted @ 2012-09-27 14:21 NewPanderKing 阅读(224) 评论(0) 推荐(0)

poj 1007 DNA Sorting(排序--快排)
摘要:DNA SortingTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 67603Accepted: 26858DescriptionOne measure of ``unsortedness'' in a sequence is th... 阅读全文

posted @ 2012-09-26 19:00 NewPanderKing 阅读(2824) 评论(0) 推荐(0)

poj 2153 Rank List(数据结构+图的用法)
摘要:Rank ListTime Limit: 10000MSMemory Limit: 65536KTotal Submissions: 7883Accepted: 2561DescriptionLi Ming is a good student. He always asks the teacher ... 阅读全文

posted @ 2012-09-10 17:49 NewPanderKing 阅读(812) 评论(0) 推荐(0)

poj 2051 Argus(数据结构:优先权队列)
摘要:ArgusTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 8312Accepted: 3701DescriptionA data stream is a real-time, continuous, ordered sequence ... 阅读全文

posted @ 2012-09-10 15:53 NewPanderKing 阅读(1143) 评论(0) 推荐(0)

poj 2023 Choose Your Own Adventure(数据结构+深度搜索)
摘要:Choose Your Own AdventureTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 1559Accepted: 638DescriptionAfter reading the book Tim and Marc Kill... 阅读全文

posted @ 2012-09-10 11:09 NewPanderKing 阅读(471) 评论(0) 推荐(0)

poj 2021 Relative Relatives(典型数据结构题)
摘要:Relative RelativesTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 3244Accepted: 1405DescriptionToday is Ted's 100th birthday. A few weeks ago... 阅读全文

posted @ 2012-09-09 19:59 NewPanderKing 阅读(412) 评论(0) 推荐(1)

poj 1656 Counting Black(模拟)
摘要:Counting BlackTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 9101Accepted: 5879DescriptionThere is a board with 100 * 100 grids as shown bel... 阅读全文

posted @ 2012-09-08 20:11 NewPanderKing 阅读(324) 评论(0) 推荐(0)

poj 2524 Ubiquitous Religions(最简单的并查集)
摘要:Ubiquitous ReligionsTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 17935Accepted: 8748DescriptionThere are so many different religions in th... 阅读全文

posted @ 2012-09-07 22:43 NewPanderKing 阅读(245) 评论(0) 推荐(0)

poj 1988 Cube Stacking(并查集)
摘要:Cube StackingTime Limit: 2000MSMemory Limit: 30000KTotal Submissions: 14901Accepted: 5037Case Time Limit: 1000MSDescriptionFarmer John and Betsy are p... 阅读全文

posted @ 2012-09-06 16:14 NewPanderKing 阅读(752) 评论(0) 推荐(0)

poj 1088 滑雪
摘要:滑雪Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 60769Accepted: 22147DescriptionMichael 喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你... 阅读全文

posted @ 2012-09-04 18:45 NewPanderKing 阅读(351) 评论(0) 推荐(0)

导航