![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学几何
昨日明眸
个人爱好
展开
-
Parallelogram Counting(求平行四边形个数)
Parallelogram CountingTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 5605Accepted: 1885DescriptionThere are n distinct points in the plane, gi原创 2016-08-13 17:22:34 · 792 阅读 · 0 评论 -
CodeForces 257C View Angle(求角度)
View AngleTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 257CAppoint description: System Crawler (Oct 17, 2016 1:45:35 PM原创 2016-10-19 17:03:29 · 398 阅读 · 0 评论 -
lightoj Beginners Problems(求面积)
Agent J is preparing to steal an antique diamond piece from a museum. As it is fully guarded and they are guarding it using high technologies, it's not easy to steal the piece. There are three circula原创 2016-09-24 13:19:24 · 173 阅读 · 0 评论 -
LightOJ 1022 Circle in Square(求面积)
A circle is placed perfectly into a square. The term perfectly placed means that each side of the square is touched by the circle, but the circle doesn't have any overlapping part with the square. See原创 2016-09-24 13:07:23 · 317 阅读 · 0 评论 -
lightoj-1305 - Area of a Parallelogram(几何)
A parallelogram is a quadrilateral with two pairs of parallel sides. See the picture below:Fig: a parallelogramNow you are given the co ordinates of A, B and C, you have to find the coordinate原创 2016-09-24 13:02:45 · 218 阅读 · 0 评论 -
Codeforces Round #368 (Div. 2) Pythagorean Triples
C. Pythagorean Triplestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputKatya studies in a fifth grade. Recen原创 2016-08-21 13:24:48 · 303 阅读 · 0 评论 -
1031 骨牌覆盖
1031 骨牌覆盖基准时间限制:1 秒 空间限制:131072 KB 分值: 10 难度:2级算法题在2*N的一个长方形方格中,用一个1*2的骨牌排满方格。问有多少种不同的排列方法。例如:2 * 3的方格,共有3种不同的排法。(由于方案的数量巨大,只输出 Mod 10^9 + 7 的结果)Input输入原创 2016-08-18 10:38:09 · 259 阅读 · 0 评论 -
1381硬币游戏
基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题有一个简单但是很有趣的游戏。在这个游戏中有一个硬币还有一张桌子,这张桌子上有很多平行线(如下图所示)。两条相邻平行线之间的距离是1,硬币的半径是R,然后我们来抛硬币到桌子上,抛下之后硬币有时候会和一些直线相交(相切的情况也算是相交),有时候不会。请你来计算一下抛一次硬币之后,原创 2016-08-17 10:20:04 · 902 阅读 · 0 评论 -
1265 四点共面(向量求解)
1265 四点共面基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题给出三维空间上的四个点(点与点的位置均不相同),判断这4个点是否在同一个平面内(4点共线也算共面)。如果共面,输出"Yes",否则输出"No"。Input第1行:一个数T,表示输入的测试数量(1 <= T <= 1000)第2 - 4T原创 2016-08-11 16:23:58 · 993 阅读 · 0 评论 -
1298 圆与三角形(基础几何知识)
1298 圆与三角形题目来源: HackerRank基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 给出圆的圆心和半径,以及三角形的三个顶点,问圆同三角形是否相交。相交输出"Yes",否则输出"No"。(三角形的面积大于0)。Input第1行:一个数T,表示输入的测试数量(1 4-1:三个数,前两个数为圆心的坐标xc, yc,第3个数为原创 2016-08-11 15:42:26 · 563 阅读 · 0 评论 -
poj 1942 : Paths on a Grid (排列组合)
Paths on a GridTime Limit:1000MS Memory Limit:30000KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionImagine you are attending your math lesson at school. Once again,原创 2016-10-07 10:43:17 · 226 阅读 · 0 评论