码迷,mamicode.com
首页 >  
搜索关键字:map reduce    ( 27804个结果
HDU 1004
第一次写map 纪念 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 map a; 9 int main(){10 int t,max1;11...
分类:其他好文   时间:2014-07-31 23:46:50    阅读次数:251
HDU 1045 Fire Net 贪心
Problem Description Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a street or a piece of wall. A blockh...
分类:Web程序   时间:2014-07-31 21:05:27    阅读次数:356
将JSON转换成MAP的工具类
package digu.pendant.util;import java.io.BufferedReader;import java.io.InputStream;import java.io.InputStreamReader;import java.net.URL;import java.ut...
分类:Web程序   时间:2014-07-31 20:14:17    阅读次数:210
map我觉得非水题-hdu-4329
这个题目真是考验我的英语能力,我弄了2小时才弄懂题目的意思,后来打代码,根据别人的思维打的,因为一开始看不懂题目,就死抠,查了好久没一个负责的,题解一句话:题目怎么说我就怎么打.这题解未免太机智了,我要知道题目意思,还看你作甚。写了好多注释,有一点还是很模糊,getchar()我觉得没啥用,但是不打...
分类:其他好文   时间:2014-07-31 20:09:07    阅读次数:188
Java:for循环Map
根据JDK5的新特性,用For循环Map,例如循环Map的KeyMap<String,String>requestMap for(StringdataKey:requestMap.keySet()){ System.out.print(dataKey+":"); System.out.println(requestMap.get(dataKey)); }循环输出Key和Value。注意的是,paraMap是怎么样定义的,如果是..
分类:编程语言   时间:2014-07-31 17:22:07    阅读次数:196
java开源工作流引擎osworkflow
java开源工作流引擎osworkflow目前实际用到的三个方法初始化:initialize(String workflowName, int initialAction, Map inputs)查询:query(WorkflowExpressionQuery query)操作:doAction(l...
分类:编程语言   时间:2014-07-31 16:48:26    阅读次数:202
扩展自己的数组核心库
index.html dsFrameWork_Core.js/* * MAP对象,实现MAP功能 * * 接口: * size() 获取MAP元素个数 * isEmpty() 判断MAP是否为空 * clear(...
分类:其他好文   时间:2014-07-31 16:40:46    阅读次数:225
啦啦啦
1.poj 3026 Borg Maze()http://poj.org/problem?id=3026在一个迷宫里由S找到所有A(找到过的A可以当S来用)所用最短步 ,即s到a中所有最短路径的和bfs+prim 广搜+最小生成树 难点:通过图建立map[][]数组 2.poj 2049 ...
分类:其他好文   时间:2014-07-31 16:36:46    阅读次数:252
map水题目
先做一个水题目。为了熟悉map的基本用法。记得在沈阳实训的时候,老师介绍过stl,里头的关联容器之一就是map,其实是是一个绑定索引,我觉得,蛮好用,除了new什么之类的不懂,其余删除,加入基本都会。#include #include#includeusing namespace std;mapba...
分类:其他好文   时间:2014-07-31 16:25:26    阅读次数:165
android的liveview装载数据
设置布局 从MAP的集合取数据 //获取数据 Intent intent = getIntent(); Bundle bundle = intent.getExtras(); SerializableMaplist SerializableMaplist = (Ser...
分类:移动开发   时间:2014-07-31 13:10:26    阅读次数:310
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!