上一页 1 2 3 4 5 6 7 8 ··· 21 下一页
摘要: Problem Description A numeric sequence of ai is ordered if a1 #include #include #include #include using namespace std; #define mod 123456789 i... 阅读全文
posted @ 2015-08-11 15:47 星斗万千 阅读(155) 评论(0) 推荐(0)
摘要: Description You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your pro... 阅读全文
posted @ 2015-08-09 15:21 星斗万千 阅读(127) 评论(0) 推荐(0)
摘要: Problem Description Recognizing junk mails is a tough task. The method used here consists of two steps: 1) Extract the common characteristics from... 阅读全文
posted @ 2015-08-08 16:22 星斗万千 阅读(122) 评论(0) 推荐(0)
摘要: Description 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。 有人用两种说法对这N个动物所构成的食物链关系进行描述: 第一种说法是"1 ... 阅读全文
posted @ 2015-08-07 19:07 星斗万千 阅读(132) 评论(0) 推荐(0)
摘要: Problem Description 上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,也... 阅读全文
posted @ 2015-08-06 09:47 星斗万千 阅读(96) 评论(0) 推荐(0)
摘要: 题目描述 Description 现代数学的著名证明之一是Georg Cantor证明了有理数是可枚举的。他是用下面这一张表来证明这一命题的: 1/1 1/2 1/3 1/4 1/5 … 2/1 2/2 2/3 2/4 … 3/1 3/2 3/3 … 4/1 4/2 … 5/1 … … 我... 阅读全文
posted @ 2015-08-05 18:28 星斗万千 阅读(358) 评论(0) 推荐(0)
摘要: Problem Description 时间:2008年5月16日(震后第4天) 地点:汶川县牛脑寨 人物:羌族老奶奶 【转载整理】牛脑寨是一个全村600多人的羌族寨子,震后几天,这里依然能常常听到隆隆的声音,那是对面山上石头不断滑落的声音。在完成整个突击队的抢修移动基站的任务后,我提着相... 阅读全文
posted @ 2015-06-14 00:48 星斗万千 阅读(217) 评论(0) 推荐(0)
摘要: Problem Description 通过悬崖的yifenfei,又面临着幽谷的考验—— 幽谷周围瘴气弥漫,静的可怕,隐约可见地上堆满了骷髅。由于此处长年不见天日,导致空气中布满了毒素,一旦吸入体内,便会全身溃烂而死。 幸好yifenfei早有防备,提前备好了解药材料(各种浓度的万能药水)... 阅读全文
posted @ 2015-06-14 00:19 星斗万千 阅读(112) 评论(0) 推荐(0)
摘要: Problem Description 某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路? Inpu... 阅读全文
posted @ 2015-05-11 21:23 星斗万千 阅读(238) 评论(0) 推荐(0)
摘要: Description There are N points in total. Every point moves in certain direction and certain speed. We want to know at what time that the largest ... 阅读全文
posted @ 2015-05-07 15:42 星斗万千 阅读(128) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 21 下一页