
几何
风之旅@
努力到一定的程度,幸运就会与你不期而遇
展开
-
POJ - 2318 TOYS
Calculate the number of toys that land in each bin of a partitioned toy box. Mom and dad have a problem - their child John never puts his toys away when he is finished playing with them. They gave J...原创 2018-09-24 15:47:48 · 107 阅读 · 0 评论 -
POJ - 2398 Toy Storage
Mom and dad have a problem: their child, Reza, never puts his toys away when he is finished playing with them. They gave Reza a rectangular box to put his toys in. Unfortunately, Reza is rebellious a...原创 2018-09-24 21:33:43 · 110 阅读 · 0 评论 -
POJ - 2653 Pick-up sticks
Stan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan tries to find the top sticks, that is these sticks such that there is no...原创 2018-10-01 15:59:48 · 103 阅读 · 0 评论 -
POJ - 1113 Wall (Andrew算法+凸包)
Once upon a time there was a greedy King who ordered his chief Architect to build a wall around the King's castle. The King was so greedy, that he would not listen to his Architect's proposals to bui...原创 2018-10-02 18:03:11 · 297 阅读 · 0 评论 -
POJ - 3348 Cows(Andrew算法+凸包)
Your friend to the south is interested in building fences and turning plowshares into swords. In order to help with his overseas adventure, they are forced to save money on buying fence posts by usin...原创 2018-10-03 11:14:54 · 206 阅读 · 0 评论 -
POJ - 1265 Area(pick公式)
Being well known for its highly innovative products, Merck would definitely be a good target for industrial espionage. To protect its brand-new research and development facility the company has insta...原创 2018-10-03 22:02:33 · 262 阅读 · 0 评论 -
HDU - 2050 折线分割平面
我们看到过很多直线分割平面的题目,今天的这个题目稍微有些变化,我们要求的是n条折线分割平面的最大数目。比如,一条折线可以将平面分成两部分,两条折线最多可以将平面分成7部分,具体如下所示 Input 输入数据的第一行是一个整数C,表示测试实例的个数,然后是C 行数据,每行包含一个整数n(0<...原创 2018-10-04 10:46:43 · 101 阅读 · 0 评论