Hadoop 是一个开源框架,可编写和运行分布式应用处理大规模数据 Hadoop框架的核心是HDFS 和 MapReduce HDFS是分布式文件系统(存储) MapReduce是分布式数据处理模型和执行环境(计算) 作者:Doug Cutting Hadoop特点 扩容能力 能可靠地存储和处理千兆 ...
分类:
其他好文 时间:
2019-09-29 11:17:45
阅读次数:
119
"Codeforces Global Round 2" 题目链接: "E. Pavel and Triangles" Pavel has several sticks with lengths equal to powers of two. He has $a_0$ sticks of length ...
分类:
其他好文 时间:
2019-09-27 23:08:20
阅读次数:
117
George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the origina ...
分类:
其他好文 时间:
2019-09-22 15:06:27
阅读次数:
68
简单概括:Hadoop是由Apache组织使用Java语言开发的一款应对大数据存储和计算的分布式开源框架。 Hadoop的起源 2003-2004年,Google公布了部分GFS和MapReduce思想的细节,受此启发的Doug Cutting等人用2年的业余时间实现了DFS和MapReduce机制 ...
分类:
其他好文 时间:
2019-09-15 10:32:13
阅读次数:
141
一.Spring--面向切面 在软件开发中,散布于应用中多处的功能被称为横切关注点(cross- cutting concern)。通常来讲,这些横切关注点从概念上是与应用的业 务逻辑相分离的(但是往往会直接嵌入到应用的业务逻辑之中)。把 这些横切关注点与业务逻辑相分离正是面向切面编程(AOP)所要 ...
分类:
编程语言 时间:
2019-09-08 21:53:38
阅读次数:
78
题目传送门 //原址有中文翻译 解题思路: 求出总长度sum和小棒最长的长度max,则原棒可能的长度必在max~sum之间,然后从小到大枚举max~sum之间能被sum整除的长度len,用dfs求出所有的小棒能否拼凑成这个长度,如果可以,第一个len就是答案。 下面就是关键的了,就是这道题dfs的实 ...
分类:
其他好文 时间:
2019-09-08 18:09:02
阅读次数:
73
package com.skyecho.product.charter.cutting.test.util; import java.io.BufferedReader;import java.io.ByteArrayOutputStream;import java.io.IOException;i ...
分类:
Web程序 时间:
2019-09-06 12:32:27
阅读次数:
104
题目描述George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the ori ...
分类:
编程语言 时间:
2019-08-31 17:02:37
阅读次数:
172
You are given 4n4n sticks, the length of the ii-th stick is aiai. You have to create nn rectangles, each rectangle will consist of exactly 44 sticks f ...
分类:
其他好文 时间:
2019-08-27 09:12:38
阅读次数:
87
原题 题目链接 题目分析 题意很明确,就是要维护单调递增的序列,最后看有多少种单调序列即可,设定一个dp数组,cnt表示数组大小,初始化为0,然后把所有木头从小到大排个序,当遍历到木头i时,如果dp数组里有比木头i还小的,就代替它,否则就dp[cnt++]=木头i,最后cnt就是答案. 代码 ...
分类:
其他好文 时间:
2019-08-25 17:39:57
阅读次数:
73