码迷,mamicode.com
首页 >  
搜索关键字:lifting the stone    ( 411个结果
poj 1694 An Old Stone Game 树形dp
//poj 1694 //sep9 #include #include using namespace std; const int maxN=256; int n; int tree[maxN][maxN]; int ans[maxN]; int cmp(int a,int b) { return a>b; } int dfs(int u) { int tmp[maxN],t=0; i...
分类:其他好文   时间:2015-07-02 12:09:15    阅读次数:148
Java 递归、尾递归、非递归 处理阶乘问题
n!=n*(n-1)! import java.io.BufferedReader; import java.io.InputStreamReader; /** * n的阶乘,即n! (n*(n-1)*(n-2)*...1)。 * 0!为什么=1,因为1!=1*0!,所以0!=1 * * @author stone * @date 2015-1-6 下午18:48:00 *...
分类:编程语言   时间:2015-07-01 18:27:17    阅读次数:140
使用ab进行页面的压力测试
ab是apache自带的一个很好用的压力测试工具,当安装完apache的时候,就可以在bin下面找到ab参数说明及示例我们可以模拟100个并发用户,对一个页面发送1000个请求输入命令:ab -n1000 -c100http://stone_w.cnblogs.com/其中-n代表请求数,-c代表并...
分类:其他好文   时间:2015-07-01 15:58:55    阅读次数:138
URAL 1180. Stone Game (博弈 + 规律)
1180. Stone Game Time limit: 1.0 second Memory limit: 64 MB Two Nikifors play a funny game. There is a heap of N stones in front of them. Both Nikifors in turns take some stones from the hea...
分类:其他好文   时间:2015-06-23 18:02:36    阅读次数:108
整理阅读的论文(一)
这篇文章的基本思想(文中称为Local tangential lifting method,简称LTL)为将三维曲面上的三角形网格光顺(meshsmooth)问题通过投影转化到法平面上的二维网格上讨论(详见 3.1)。其中,法平面的确定采用点邻接三角形的法线加权平均法(权因子选择的是点离三角形...
分类:其他好文   时间:2015-06-22 22:14:44    阅读次数:175
hdu1115 Lifting the Stone(几何,求多边形重心模板题)
题意:就是给你一个多边行的点的坐标,求此多边形的重心。 一道求多边形重心的模板题! #include #include #include using namespace std; struct point { double x,y; }PP[1000047]; point bcenter(point pnt[],int n){ point p,s; double...
分类:其他好文   时间:2015-06-04 09:54:26    阅读次数:104
简介nandflash、norflash、ram、sram、dram、rom、eeprom、flash的区别
1、nandflash     Nandflash是IO设备,数据、地址、控制线都是共用的,需要软件区控制读取时序, 所以不能像nor flash、内存一样随机访问,不能EIP(片上运行),因此不能直接作为boot。     S3C2440把Bootloader烧到nand flash上启动,因为在S3C2440里有一个内置的SRAM, 叫做stepping stone(垫脚石,很形象...
分类:其他好文   时间:2015-06-03 00:59:35    阅读次数:1878
CSU1646: HearthStone(DP)
Description Henry十分钟爱炉石传说(Heart Stone)这款有趣的桌面卡牌游戏。 我们简化的游戏规则如下: 游戏由两人对战,出牌并尽量对对方造成最大的伤害,一共进行 r轮。 前10轮,第i轮你有i个法力水晶;之后每轮都有10个法力水晶。前一轮未使用的法力水晶不能累积到下一轮。有两种卡牌,随从卡 “达拉然法师” 和 法术卡  “刺骨”。...
分类:其他好文   时间:2015-05-31 20:15:05    阅读次数:134
Lifting the Stone(hdoj1115)
Lifting the StoneTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6104Accepted Submission(s): 2546P...
分类:其他好文   时间:2015-05-30 23:59:40    阅读次数:292
Functional Programming without Lambda - Part 2 Lifting, Functor, Monad
fmap :: (T -> R) -> Functor<T> -> Functor<R> lifts a function of type T -> R into a function of type Functor<T> -> Functor<R>; flatMap :: (T -> Monad<...
分类:其他好文   时间:2015-05-30 13:26:45    阅读次数:198
411条   上一页 1 ... 26 27 28 29 30 ... 42 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!