码迷,mamicode.com
首页 >  
搜索关键字:hole    ( 124个结果
poj 1584 A Round Peg in a Ground Hole 判断多边形是否为凸多边形 + 圆心是否在凸多边形内 + 圆是否在凸多边形内部
题目来源:http://poj.org/problem?id=1584题意: 给一个多边形, 一个圆心以及半径。 首先判断是否为凸多边形。 如果是凸多边形, 再判断,圆是否在凸多边形内部。分析:1) 先判断是否为凸多边形 ,题目给出的顶点是有序的, 即顺时针或是 逆时针。用叉积方向判断。2) 判断圆...
分类:其他好文   时间:2014-05-07 01:37:27    阅读次数:336
zoj Treasure Hunt IV
Treasure Hunt IVTime Limit:2 Seconds Memory Limit:65536 KBAlice is exploring the wonderland, suddenly she fell into a hole, when she woke up, she foun...
分类:其他好文   时间:2014-05-06 18:08:39    阅读次数:290
PAT 1069. The Black Hole of Numbers (20)
1069. The Black Hole of Numbers (20)
分类:其他好文   时间:2014-05-05 23:45:49    阅读次数:365
codechef Holes in the text 题解
Chef wrote some text on a piece of paper and now he wants to know how many holes are in the text. What is a hole? If you think of the paper as the plane and a letter as a curve on the plane, then each...
分类:其他好文   时间:2014-05-03 15:49:18    阅读次数:412
124条   上一页 1 ... 11 12 13
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!