码迷,mamicode.com
首页 >  
搜索关键字:b. mr. kitayutas col    ( 37987个结果
Young氏矩阵
一个 m x n 的Young氏矩阵是指,每一行数据都是从左到右排好序,每一列的数据也都是从上到下排好序。其中也可能存在一些INF的数据,表示不存在的元素,一个mxn的Young氏矩阵最多用来存放 r num = 0; this->row = row; this->col = col; mat = ...
分类:其他好文   时间:2014-09-06 16:05:13    阅读次数:341
剑指offer_02_二维数组中的查找
#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
MR中使用sequnceFIle输入文件
转换原始数据为块压缩的SequenceFIleimport org.apache.hadoop.conf.Configuration;import org.apache.hadoop.conf.Configured;import org.apache.hadoop.fs.FileSystem;imp...
分类:其他好文   时间:2014-09-04 22:06:30    阅读次数:283
VLOOkuP 的使用
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
设置控制台(命令行)窗口 光标位置,及前背景颜色
#include "stdafx.h"#include #include /*#define FOREGROUND_BLUE 0x0001 // text color contains blue.#define FOREGROUND_GREEN 0x0002 // text col...
分类:其他好文   时间:2014-09-04 14:42:29    阅读次数:180
UVA 11383 - Golden Tiger Claw(二分图完美匹配扩展)
UVA 11383 - Golden Tiger Claw 题目链接 题意:给定每列和每行的和,给定一个矩阵,要求每个格子(x, y)的值小于row(i) + col(j),求一种方案,并且所有行列之和的和最小 思路:A二分图完美匹配的扩展,行列建二分图,权值为矩阵相应位置的值,做一次KM算法后,所有顶标之和就是最小的 代码: #include #include ...
分类:其他好文   时间:2014-09-04 13:22:59    阅读次数:196
二维数组环形打印,亲自调试
/*先把数据按照打印格式打印到二维数组中,然后输出二维数组即可  *时间复杂度 O(N*M)  *空间复杂度O(N*M) */ #include #include #include int input(void); void contral(int **arry,int col,int row); void set_value(int**a,int col,int ro...
分类:其他好文   时间:2014-09-04 08:27:48    阅读次数:259
hadoop2.5.0单节点下MR运行WordCount
参考:http://hadoop.apache.org/docs/r2.5.0/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.htmlMaven和WordCount代码: ...
分类:其他好文   时间:2014-09-03 19:45:17    阅读次数:270
hdu 3915 Game
Game Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 730    Accepted Submission(s): 288 Problem Description   Mr.Frost is a child w...
分类:其他好文   时间:2014-09-03 18:14:37    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!