#include<cstdio>#include<cstring>#include<vector>#include<queue>using namespace std; struct Node{ int row,col,dir; Node(int row=0,int col=0,int dir=0) ...
分类:
其他好文 时间:
2017-08-11 17:23:26
阅读次数:
180
发现是在IE6-IE9下,下列元素table,thead,tfoot,tbody,tr,col,colgroup,html,title,style,frameset的innerHTML属性是只读的
table ID="zhutiTable" html2="<tr></tr>"; 的数据 setTableInnerHTML(document.getElementById('zhutiTable'), html2); function setTableInnerHTML(table, html) ...
分类:
Web程序 时间:
2017-08-10 21:07:52
阅读次数:
379
格式化浮点数的问题,用format(col,2)保留两位小数点,出现一个问题,例如下面的语句,后面我们给出解决方法 SELECT FORMAT(12562.6655,2); 结果:12,562.67 查看文档:Formats the number X to a format like '#,###, ...
分类:
数据库 时间:
2017-08-09 11:32:26
阅读次数:
246
%%% Fragment %%% 对原图做四个方向的平移。然后对平移的结果取平均 %%% 碎片效果 clc; clear all; Image=imread('4.jpg'); Image=double(Image)/255; [row,col,k]=size(Image); Image1=Imag ...
分类:
编程语言 时间:
2017-08-09 10:10:13
阅读次数:
194
pic[][]数组存储每个点的值,0或1,输入时在原图的周围加了一圈0。 color[][]数组存储每个点的color值,从1开始,dfs(row, col, c) 负责对每个点着色,连通在一起的连通块的颜色相同。 因为最先着色的是最外围的白色点,即background white,这些点的colo ...
分类:
其他好文 时间:
2017-08-07 18:35:56
阅读次数:
237
转自:https://yq.aliyun.com/articles/78788?spm=5176.8252056.759076.3.uFYrmt java.util包中包含了一系列重要的集合类,而对于集合类,主要需要掌握的就是它的内部结构,以及遍历集合的迭代模式。 接口:Collection Col ...
分类:
编程语言 时间:
2017-08-06 18:01:47
阅读次数:
180
获取表字段:select*fromuser_tab_columnswhereTable_Name=‘用户表‘orderbycolumn_name获取表注释:select*fromuser_tab_commentswhereTable_Name=‘用户表‘orderbyTable_Name获取字段注释:select*fromuser_col_commentswhereTable_Name=‘用户表‘orderbycolumn_name/*获取表:*..
分类:
数据库 时间:
2017-08-06 10:36:38
阅读次数:
148
max 函数 在hive中max函数是一个聚合函数,所以,而且返回值是double ,而且后面必须跟group by ,这个和mysql差异很大 Built-in Aggregate Functions (UDAF) DOUBLEmax(col)Returns the maximum value o ...
分类:
数据库 时间:
2017-08-05 21:12:17
阅读次数:
193
ocm考试新题中。须要创建keep存储的表,但在该參数是否应该改动上,有一些分歧。有人说asmm会自己主动给keep分配内存的,该參数就不用设置了。 看文档和asktom。也是云山雾罩,说什么的都有,还是来实际的測试吧: SQL> col COMPONENT for a30 SQL> select ...
分类:
数据库 时间:
2017-08-05 14:56:40
阅读次数:
243
<script type="text/javascript"> $(".news_con_col").mouseover(function(){ $(this).find(".bg-hover").show(); }); $(".news_con_col").mouseout(function(){ ...
分类:
其他好文 时间:
2017-08-05 10:01:29
阅读次数:
169