上一页 1 2 3 4 5 6 7 8 9 ··· 29 下一页
摘要: DescriptionP教授要去看奥运,但是他舍不下他的玩具,于是他决定把所有的玩具运到北京。他使用自己的压缩器进行压缩,其可以将任意物品变成一堆,再放到一种特殊的一维容器中。P教授有编号为1...N的N件玩具,第i件玩具经过压缩后变成一维长度为Ci.为了方便整理,P教授要求在一个一维容器中的玩具编... 阅读全文
posted @ 2014-08-19 18:07 Oyking 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1052Problem DescriptionHere is a famous story in Chinese history."That was about 2300 years ago. Genera... 阅读全文
posted @ 2014-08-17 11:48 Oyking 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4822Problem DescriptionThree countries, Red, Yellow, and Blue are in war. The map of battlefield is a t... 阅读全文
posted @ 2014-08-16 15:18 Oyking 阅读(1055) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionMath is important!! Many students failed in 2+2’s mathematical test, so let's AC this problem to mourn for our lost youth..Look thi... 阅读全文
posted @ 2014-08-15 13:53 Oyking 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4573Problem Description Remember our childhood? A few naked children throw stones standing on the same... 阅读全文
posted @ 2014-08-14 12:32 Oyking 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/70/problem/DOnce a walrus professor Plato asked his programming students to perform the following practical task.Th... 阅读全文
posted @ 2014-08-13 16:51 Oyking 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://www.lydsy.com/JudgeOnline/problem.php?id=3110Description有N个位置,M个操作。操作有两种,每次操作如果是1 a b c的形式表示在第a个位置到第b个位置,每个位置加入一个数c如果是2 a b c形式,表示询问从第a个位置... 阅读全文
posted @ 2014-08-11 22:43 Oyking 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acdream.info/problem?pid=1157Problem Description由3钟类型操作:1)D L R(1 2 #include 3 #include 4 #include 5 using namespace std; 6 7 c... 阅读全文
posted @ 2014-08-09 22:37 Oyking 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4816Problem DescriptionThe Bathysphere is a spherical deep-sea submersible which was unpowered and lowe... 阅读全文
posted @ 2014-08-08 23:05 Oyking 阅读(550) 评论(0) 推荐(0) 编辑
摘要: Problem Description瑶瑶(tsyao)是某知名货运公司(顺丰)的老板,这个公司很大,货物运输量极大,因此公司修建了许多交通设施,掌控了一个国家的交通运输。这个国家有n座城市,公司的总部在1号城市。公司下管辖的有m条道路和n-1段火车线路。这m条道路和n-1条火车线路都可以用u来表示... 阅读全文
posted @ 2014-08-07 17:18 Oyking 阅读(344) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 29 下一页