码迷,mamicode.com
首页 >  
搜索关键字:triangle    ( 1341个结果
【UVA】11437 Triangle Fun(简单几何)
uva 简单几何...
分类:其他好文   时间:2014-08-30 12:41:49    阅读次数:269
LA3700 Interesting Yang Hui Triangle(Lucas定理)
Harry is a Junior middle student. He is very interested in the story told by his mathematics teacher about the Yang Hui triangle in the class yesterday. After class he wrote the following numbers to s...
分类:其他好文   时间:2014-08-29 14:42:38    阅读次数:275
codechef Sums in a Triangle题解
Let's consider a triangle of numbers in which a number appears in the first line, two numbers appear in the second line, three in the third line, etc....
分类:其他好文   时间:2014-08-28 13:03:29    阅读次数:218
UVa 11401 Triangle Counting
题意:问1~n这n个数中,选三个各不相同的数构成三角形,有多少种方案上图找规律:不妨设yx-y,即两边之差小于第三边图中列举了,x等于7和x等于8的情况那么y从2开始枚举,最右边是z的方案数我们把对应x的方案数叫做c(x),所求即是c(x)前若干项和。c(7)是从1加到n再从n加到1,是两个等差数列...
分类:其他好文   时间:2014-08-27 18:30:58    阅读次数:249
28. Triangle && Pascal's Triangle && Pascal's Triangle II
思想: 简单动态规划。
分类:其他好文   时间:2014-08-27 15:58:57    阅读次数:197
Incircle and Circumcircle(二分+几何)浙大月赛zoj3806(详解版)图
Incircle and CircumcircleTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeA triangle is one the basic shapes in geometry. It's a polygon with...
分类:其他好文   时间:2014-08-26 19:03:46    阅读次数:201
LeetCode: pascal's Triangle
LeetCode: pascal's TriangleGiven numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5,Return[ [1], [1,1], ...
分类:其他好文   时间:2014-08-26 00:14:35    阅读次数:283
LeetCode: Triangle
LeetCode: TriangleGiven a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For exa...
分类:其他好文   时间:2014-08-25 22:48:14    阅读次数:306
Triangle
Triangle  Total Accepted: 16109 Total Submissions: 60327My Submissions Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row...
分类:其他好文   时间:2014-08-23 16:54:11    阅读次数:253
poj 2954 Triangle(Pick定理)
链接:http://poj.org/problem?id=2954TriangleTime Limit:1000MSMemory Limit:65536KTotal Submissions:5043Accepted:2164DescriptionAlattice pointis an ordered...
分类:其他好文   时间:2014-08-22 17:44:29    阅读次数:214
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!