11 2014 档案

摘要:题目链接: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 阅读(266) 评论(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 阅读(758) 评论(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 阅读(456) 评论(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 阅读(675) 评论(0) 推荐(0)
摘要:半平面交算法及简单应用半平面:一条直线把二维平面分成两个平面。半平面交:在二维几何平面上,给出若干个半平面,求它们的公共部分半平面交的结果:1.凸多边形(后面会讲解到)2.无界,因为有可能若干半平面没有形成封闭3.直线,线段,点,空(属于特殊情况吧)算法:1:根据上图可... 阅读全文
posted @ 2014-11-01 21:20 huangxf 阅读(4420) 评论(0) 推荐(7)