码迷,mamicode.com
首页 >  
搜索关键字:pascals triangle pas    ( 2128个结果
delphi base64 md5与sha1加密单(cnvcl)
今天一直在研究delphi中的base64和sha1,使用的是http://www.cnpack.org的cnvcl中的单元,CnSHA1.pas和CnBase64.pas,很感谢cnpack组的贡献,让我们方便的在delphi中使用base64与sha1加密,还有md5。在使用单次加密时还和php的结果还可以说一样,就是php都是小写,delphi是大写..
分类:其他好文   时间:2014-08-27 19:02:08    阅读次数:224
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
字符串操作之格式化
函数 function Format(const Format: string; const Args: array of const): string; 需引用 SysUtils.pas功能 返回按指定方式格式化一个数组常量的字符形式说明 这个函数是我在Delphi中用得最多的函数,现在就列举几个...
分类:其他好文   时间:2014-08-26 15:02:26    阅读次数:172
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
HDU1039 Easier Done Than Said?
Easier Done Than Said? Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7822    Accepted Submission(s): 3863 Problem Description Pas...
分类:其他好文   时间:2014-08-25 22:58:55    阅读次数:311
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
简易版ATM机
#include #include#include void welcome()//输入账户 { char user[10]; printf("请输入您的账户名:\n"); scanf("%s",user); printf("welcome you!!\n%s\n",user);}int pas.....
分类:其他好文   时间:2014-08-25 21:00:44    阅读次数:199
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!