三维空间的DFS,挺新颖的一题 AC代码: #include <vector> #include <cstdio> #include <queue> using namespace std; int x[] = {0,0,1,0,-1,0}; int y[] = {0,1,0,-1,0,0}; in
分类:
其他好文 时间:
2016-03-10 23:22:09
阅读次数:
166
SVG——可扩展适量图形,基于XML PC端:IE9+ wap端:表现良好,适合使用 基础图形: line(线段) <line x1="25" y1="150" x2="375" y2="50" stroke="#f00"></line> polyline(折线) <polyline points=
分类:
其他好文 时间:
2016-03-04 22:39:10
阅读次数:
344
1)按笔画排序 select * from Table order by nlssort(columnName,'NLS_SORT=SCHINESE_STROKE_M') 2)按部首排序 select * from Table order by nlssort(columnName,'NLS_SOR
分类:
数据库 时间:
2016-03-02 00:11:01
阅读次数:
153
Oracle 中对中文字段进行排序通常有三种方式 1)按笔画排序 select * from Table order by nlssort(columnName,'NLS_SORT=SCHINESE_STROKE_M') 2)按部首排序 select * from Table order by nl
分类:
数据库 时间:
2016-02-24 09:24:09
阅读次数:
213
例子: public CustomStroke(SharpType type) :base() { this.type = type; }这里的CustomStroke继承与基类Stroke类,用关键...
效果图: 代码: 1 2 3 4 【知识点】:fill(填充)、stroke(画线) 1、fillRect(x,y,w,h); //绘制实体方块,默认黑色 2、strokeRect(x,y,w,h); //绘制空心方块 3、x,y:为起始坐标点 w,h...
分类:
其他好文 时间:
2016-01-15 20:02:42
阅读次数:
154
无标题文档 canvas有自己的宽高,背景色。canvas就是一张画布 第一个stroke()绘制一条粗20,颜色为红色的线条,第二个stroke()在绘制线条时,因为没有beginPath()的存在,所以stroke()会额外绘制第一次设置的路径。在原来...
分类:
其他好文 时间:
2016-01-12 15:23:01
阅读次数:
112
在oracle 9i之前,对中文的排序,是默认按2进制编码来进行排序的. 9i时增加了几种新的选择:按中文拼音进行排序:SCHINESE_PINYIN_M按中文部首进行排序:SCHINESE_RADICAL_M按中文笔画进行排序:SCHINESE_STROKE_M而oracle 9i是对中文的排序是...
分类:
数据库 时间:
2016-01-11 18:10:53
阅读次数:
215
代码如下:agg::path_storagepath;for(inti=100;i<500;i=i+100){path.move_to(i,100);path.line_to(i,400);}for(intii=120;ii<550;ii=ii+100){path.move_to(ii+0.5,100);path.line_to(ii+0.5,400);}agg::conv_stroke<agg::path_storage>stroke(path);stroke.width(..
分类:
其他好文 时间:
2016-01-03 00:52:04
阅读次数:
224
首先介绍Oracle 9i新增加的一个系统自带的排序函数1、按首字母排序在oracle9i中新增了按照拼音、部首、笔画排序功能。设置NLS_SORT值SCHINESE_RADICAL_M 按照部首(第一顺序)、笔划(第二顺序)排序SCHINESE_STROKE_M 按照笔划(第一顺序)、部首(第二顺...
分类:
数据库 时间:
2015-12-28 10:31:37
阅读次数:
242