栅格系统 (Grid system)说个我认为比较重要的,相对于RC 1中的3层,现在有4层了We now have .col-xs (phones), .col-sm (tablets), .col-md (desktops), and .col-lg (large desktops).col-x...
分类:
其他好文 时间:
2014-09-12 20:36:34
阅读次数:
203
知识点:1、Hive的窗口和分析函数进阶 CUME_DIST 小于等于当前行值的行数 / 总行数 PERCENT_RANK 当前rank值-1 / 总行数-1 NTILE 将窗口分成n片 LEAD(col, n, default) 窗口内下n行值 LAG(col, n , default)...
分类:
其他好文 时间:
2014-09-09 17:43:09
阅读次数:
370
在棋盘上放置棋子使它们任意两个都不在同一行或同一列dfs(x,k)表示的是访问到第x行已放置了k个棋子这道题我们以每行或者每列为单位来看题,每次搜索都对一整行进行访问,并在安置棋子的点的列位置上使其visit[col]=1如果放置成功那么dfs(x+1,k+1),再进行回溯不论是否成功,都要dfs(...
分类:
其他好文 时间:
2014-09-09 15:31:09
阅读次数:
234
做项目时,有时也会参考别的案例的优秀之处。在用Bootstrap的时候,发现很多项目代码都有区别,在布局class上,有用.span*,有用.col-md-*,实际上是Bootstrap版本升级,语法也变了。 列出两者的区别,Bootstrap3.x现在是支持移动端优先,这是显著的变化。Bo...
分类:
其他好文 时间:
2014-09-09 11:42:18
阅读次数:
274
= 我的任务 =[[TicketQuery(max=10,owner=$USER, status!=closed|verified|cancelled, order=id,desc=1,format=table,col=status|summary|owner|reporter)]]
分类:
其他好文 时间:
2014-09-09 11:15:18
阅读次数:
201
树链剖分模板题。线段树维护每个段中的颜色数、左端点颜色、右端点颜色。pushup: col[rt]=col[rt 2 #include 3 using namespace std; 4 #define lson rt>1; 39 buildtree(lson); 40 buil...
分类:
其他好文 时间:
2014-09-06 16:05:43
阅读次数:
327
一个 m x n 的Young氏矩阵是指,每一行数据都是从左到右排好序,每一列的数据也都是从上到下排好序。其中也可能存在一些INF的数据,表示不存在的元素,一个mxn的Young氏矩阵最多用来存放 r num = 0; this->row = row; this->col = col; mat = ...
分类:
其他好文 时间:
2014-09-06 16:05:13
阅读次数:
341
#include
using namespace std;
bool ifHasNum(int *data,int row, int col, int num){
if(data == NULL || row <= 0 || col <= 0){
return false;
}
int i = 0;
int j = col - 1;
while(i = 0){
if(nu...
分类:
其他好文 时间:
2014-09-06 11:00:53
阅读次数:
198
之前有人做过,不过效率不高:http://blog.csdn.net/onerain88/article/details/12197277他的代码:fixed4 frag (v2f i) : COLOR{ fixed4 col; if (i.color.r < 0.001) { col = t...
分类:
其他好文 时间:
2014-09-05 19:49:41
阅读次数:
247
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)参数简单说明输入数据类型lookup_value要查找的值数值、引用或文本字符串table_array要查找的区域数据表区域col_index_num查找数据在查找区域的第几列数正整数range_lookup模糊匹配TRUE(或不填)/FALSE选取Table..
分类:
其他好文 时间:
2014-09-04 19:20:00
阅读次数:
195