09 2015 档案

摘要:During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China ---- they were Qi, Chu, Yan, Han, Zhao, Wei an... 阅读全文
posted @ 2015-09-30 21:39 可怜丶流年 阅读(185) 评论(0) 推荐(0)
摘要:time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a programing contest named SnakeUp,2npe... 阅读全文
posted @ 2015-09-28 20:52 可怜丶流年 阅读(262) 评论(0) 推荐(0)
摘要:Problem DescriptionLetLdenote the number of 1s in integerD’s binary representation. Given two integersS1andS2, we callDa WYH number ifS1≤L≤S2.With a g... 阅读全文
posted @ 2015-09-28 16:54 可怜丶流年 阅读(190) 评论(0) 推荐(1)
摘要:Problem DescriptionNpeople numbered from 1 toNare waiting in a bank for service. They all stand in a queue, but the queue never moves. It is lunch tim... 阅读全文
posted @ 2015-09-28 15:37 可怜丶流年 阅读(188) 评论(0) 推荐(0)
摘要:FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 #include #include #include #include #include #include using na... 阅读全文
posted @ 2015-09-23 17:33 可怜丶流年 阅读(245) 评论(0) 推荐(0)
摘要:时限:2000MS内存:65536KB64位IO格式:%I64d & %I64u提交状态练习指定题目版本:问题描述Acm, a treasure-explorer, is exploring again. This time he is in a special maze, in which the... 阅读全文
posted @ 2015-09-23 15:28 可怜丶流年 阅读(381) 评论(0) 推荐(0)
摘要:时间限制:1000ms单点时限:1000ms内存限制:256MB描述This is the logo of PKUACM 2016. More specifically, the logo is generated as follows:1. Put four points A0(0,0), B0(... 阅读全文
posted @ 2015-09-22 13:30 可怜丶流年 阅读(348) 评论(0) 推荐(0)
摘要:描述In Yan Yuan, the Peking University campus, there are many homeless cats. They all live happy lives because students founded a Cat Association to tak... 阅读全文
posted @ 2015-09-20 13:54 可怜丶流年 阅读(265) 评论(0) 推荐(1)
摘要:Problem DescriptionFang Fang says she wants to be remembered.I promise her. We define the sequenceFof strings.F0=‘‘f",F1=‘‘ff",F2=‘‘cff",Fn=Fn−1+‘‘f",... 阅读全文
posted @ 2015-09-19 17:54 可怜丶流年 阅读(343) 评论(0) 推荐(0)
摘要:Problem DescriptionGiven the sequenceAwithnintegerst1,t2,⋯,tn. Given the integral coefficientsaandb. The fact that select two elementstiandtjofAandi≠j... 阅读全文
posted @ 2015-09-19 17:53 可怜丶流年 阅读(177) 评论(0) 推荐(0)
摘要:问题描述An addition chain for n is an integer sequencewith the following four properties:a0 = 1am = na0 and are both valid solutions when you are asked ... 阅读全文
posted @ 2015-09-18 18:18 可怜丶流年 阅读(276) 评论(0) 推荐(0)
摘要:问题描述Alas! A set of D (1 #include #include #include #include #include #include using namespace std;const int oo = 0x3f3f3f3f;const int N = 200;const in... 阅读全文
posted @ 2015-09-18 17:34 可怜丶流年 阅读(236) 评论(0) 推荐(0)
摘要:指定题目版本:问题描述On Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game ... 阅读全文
posted @ 2015-09-17 21:12 可怜丶流年 阅读(139) 评论(0) 推荐(0)
摘要:Description南水北调工程是优化水资源配置、促进区域协调发展的基础性工程,是新中国成立以来投资额最大、涉及面最广的战略性工程,事关中华民族长远发展。“南水北调工程”,旨在缓解中国华北和西北地区水资源短缺的国家战略性工程。就是把中国长江流域丰盈的水资源抽调一部分送到华北和西北地区。我国南涝北旱... 阅读全文
posted @ 2015-09-17 16:39 可怜丶流年 阅读(576) 评论(0) 推荐(0)
摘要:DescriptionR组织的特工Dr. Kong为了寻找丢失的超体元素,不幸陷入WTO密室。Dr. Kong必须尽快找到解锁密码逃离,否则几分钟之后,WTO密室即将爆炸。Dr. Kong发现密室的墙上写了许多化学方程式中。化学方程式,也称为化学反应方程式,是用化学式表示物质化学反应的式子。化学方程... 阅读全文
posted @ 2015-09-17 16:36 可怜丶流年 阅读(238) 评论(0) 推荐(0)
摘要:Description欧洲某城是一个著名的旅游胜地,每年都有成千上万的人前来观光旅行。Dr. Kong决定利用暑假好好游览一番。。年轻人旅游不怕辛苦,不怕劳累,只要费用低就行。但Dr. Kong年过半百,他希望乘坐BUS从住的宾馆到想去游览的景点,期间尽可量地少换乘车。Dr. Kon买了一张旅游地图... 阅读全文
posted @ 2015-09-17 16:27 可怜丶流年 阅读(260) 评论(0) 推荐(0)
摘要:Problem DescriptionJack likes to travel around the world, but he doesn’t like to wait. Now, he is traveling in the Undirected Kingdom. There arencitie... 阅读全文
posted @ 2015-09-15 21:37 可怜丶流年 阅读(164) 评论(0) 推荐(0)
摘要:Problem DescriptionElves are very peculiar creatures. As we all know, they can live for a very long time and their magical prowess are not something t... 阅读全文
posted @ 2015-09-14 21:45 可怜丶流年 阅读(187) 评论(0) 推荐(0)
摘要:Problem DescriptionIn Land waterless, water is a very limited resource. People always fight for the biggest source of water. Given a sequence of water... 阅读全文
posted @ 2015-09-14 20:29 可怜丶流年 阅读(188) 评论(0) 推荐(0)
摘要:PondsTime Limit: 1500/1000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 985Accepted Submission(s): 328Problem Descr... 阅读全文
posted @ 2015-09-14 20:08 可怜丶流年 阅读(154) 评论(0) 推荐(0)