码迷,mamicode.com
首页 >  
搜索关键字:dy    ( 426个结果
BZOJ 3208 花神的秒题计划Ⅰ 记忆化搜索
题目大意:给定一个矩阵,多次改变某个点的权值,设定某个子矩阵内的所有点可用/禁用,求滑雪的最大长度 再也不敢不看数据范围就做题了233333 #include #include #include #include #define M 710 using namespace std; const int dx[]={0,0,1,-1}; const int dy[]={1,-1,0,0}...
分类:其他好文   时间:2015-01-19 22:49:09    阅读次数:192
分页代码
1 $arr_con=explode('_ueditor_page_break_tag_',$dy['art_content']);//分割内容 2 $pagenum=count($arr_con);//计算页数 3 //根据传值判断当前显示页数 4 if(intval($...
分类:其他好文   时间:2015-01-17 19:27:38    阅读次数:194
CGRectInset、CGRectOffset、等对比整理
http://blog.sina.com.cn/s/blog_76f3236b01013zmk.html分类: iphone有关 1、CGRectInsetCGRect CGRectInset ( CGRect rect, CGFloat dx, CGFloat dy ); 该结构体的应用...
分类:其他好文   时间:2015-01-13 12:12:10    阅读次数:169
【ThreeJs】html5小游戏-SearchX
使用框架: 1.Threejs 游戏采用ThreeJs框架,使用它可以快速创建html5 3D应用,网址:http://threejs.org/ 2.threex.dynamictexture.js 可以说是ThreeJs的一个插件,可以动态在物体上显示文字、图片等信息,网址:http://learningthreejs.com/blog/2014/05/02/easy-to-use-dy...
分类:Web程序   时间:2015-01-10 16:41:03    阅读次数:346
【BZOJ2595】【Wc2008】游览计划、斯坦纳树
题解:斯坦纳树,实现神马的在代码里面有还看得过去的注释。 代码: #include #include #include #include #include #define N 15 #define inf 0x3f3f3f3f using namespace std; const int dx[]={0,0,1,-1}; const int dy[]={1,-1,0,0}; stru...
分类:其他好文   时间:2015-01-09 21:02:35    阅读次数:174
SQL中replace函数
昨天做修改操作时用到了replace函数--备份表create table ac01_20150105 as select * from ac01;create table ac01_dy_20150105 as select * from ac01_dy;create table cjscrz_2...
分类:数据库   时间:2015-01-06 11:45:48    阅读次数:270
HTML5之图像处理
--- 内嵌图像- drawImage可以绘制图像context.drawImage(image,dx,dy)context.drawImage(image,dx,dy,dw,dh)context.drawImage(image,sx,sy,sw,sh,dx,dy,dw,dh)- 基本绘制 图片根据...
分类:Web程序   时间:2015-01-04 15:13:03    阅读次数:133
使用 Codec Engine 的 API 函数
本文翻译自TI的手册,该手册是学习GPP+DSP开发的金典文档,希望对各位入门有所帮助,有理解不当之处望请赐教。 Codec Engine Application Developer User's Guide.pdf (Literature Number: SPRUE67D) 《Codec Engine 应用开发使用手册》           http://blog.csdn.net/dy...
分类:Windows程序   时间:2015-01-02 09:48:44    阅读次数:270
SVG库
Raphael http://raphaeljs.com/document.createElementNS()HSL颜色RequestAnimationFrame画背景网格dx, dy支持数组,会覆盖之前在设值,会传递到兄弟元素,子元素Math在应用: sin, round等Array新增的方法:m...
分类:其他好文   时间:2014-12-31 13:00:12    阅读次数:213
uva--10285Longest Run on a Snowboard+dp
经典的滑雪问题。 代码如下: #include #include #include using namespace std; int m[110][110],d[110][110],r,c; int dx[]={1,-1,0,0},dy[]={0,0,1,-1}; int dp(int i,int j) { if(d[i][j]>0) return d[i]...
分类:其他好文   时间:2014-12-25 23:41:17    阅读次数:192
426条   上一页 1 ... 34 35 36 37 38 ... 43 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!