上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 题目链接:http://poj.org/problem?id=1300You are a butler in a large mansion. This mansion has so many rooms that they are merely referred to by number (roo... 阅读全文
posted @ 2015-02-01 11:49 huangxf 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/499A. Watching a movieYou have decided to watch the best moments of some movie. There are two buttons on your playe... 阅读全文
posted @ 2014-12-25 12:53 huangxf 阅读(746) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.bnu.edu.cn/bnuoj/problem_show.php?pid=34985We define a kind of strings as elegant string: among all the substrings of an elegant strin... 阅读全文
posted @ 2014-12-19 12:45 huangxf 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 题目链接:B. Secret CombinationYou got a box with a combination lock. The lock has a display showingndigits. There are two buttons on the box, each button ... 阅读全文
posted @ 2014-12-18 21:42 huangxf 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5120A ring is a 2-D figure bounded by two circles sharing the common center. The radius for these circl... 阅读全文
posted @ 2014-12-07 20:52 huangxf 阅读(744) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=2002A square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angles. It is also a ... 阅读全文
posted @ 2014-12-05 20:58 huangxf 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/493A. Vasya and FootballVasya has started watching football games. He has learned that for some fouls the players r... 阅读全文
posted @ 2014-12-04 14:14 huangxf 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/marvin/archive/2010/01/20/1652088.html 百度原CTO李一男经典语录 【1】好好规划自己的路,不要跟着感觉走!根据个人的理想决策安排,绝大部分人并不指望成为什么院士或教授,而是希望活得滋润一些,爽一些... 阅读全文
posted @ 2014-12-03 18:40 huangxf 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4005In the war, the intelligence about the enemy is very important. Now, our troop has mastered the sit... 阅读全文
posted @ 2014-11-27 21:39 huangxf 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4004The annual Games in frogs' kingdom started again. The most famous game is the Ironfrog Triathlon. O... 阅读全文
posted @ 2014-11-27 20:51 huangxf 阅读(749) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/488A. Giga TowerGiga Tower is the tallest and deepest building in Cyberland. There are17 777 777 777floors, numbere... 阅读全文
posted @ 2014-11-22 16:30 huangxf 阅读(446) 评论(1) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/489A:SwapSortIn this problem your goal is to sort an array consisting ofnintegers in at mostnswaps. For the given a... 阅读全文
posted @ 2014-11-18 13:07 huangxf 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 半平面交算法及简单应用半平面:一条直线把二维平面分成两个平面。半平面交:在二维几何平面上,给出若干个半平面,求它们的公共部分半平面交的结果:1.凸多边形(后面会讲解到)2.无界,因为有可能若干半平面没有形成封闭3.直线,线段,点,空(属于特殊情况吧)算法:1:根据上图可... 阅读全文
posted @ 2014-11-01 21:20 huangxf 阅读(4357) 评论(0) 推荐(7) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3487YaoYao is fond of playing his chains. He has a chain containing n diamonds on it. Diamonds are numb... 阅读全文
posted @ 2014-09-28 21:43 huangxf 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1111A poker hand consists of 5 cards dealt from the deck. Poker hands are ranked by ... 阅读全文
posted @ 2014-09-28 21:28 huangxf 阅读(390) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页