huang

3.05总结

给你一囗甜甜゛ 提交于 2020-03-06 01:50:22
8:00——10:00:直播课 10:00——12:00数据结构 14:00——16:00:Java学习 文档:接口与多态2.note 学习笔记 18:00——20:00:学习离散数学+笔记+高数笔记+总结 这几天不知道是不是因为上网课的原因,感觉学习的时间和效率都比不上前几天。可能是还没有适应过来,但是也不能一直这样放松,争取早日回归状态。 来源: CSDN 作者: huang_c_c 链接: https://blog.csdn.net/huang_c_c/article/details/104684963

Hadoop 中 FileSplit (文件分割器)的简单使用

让人想犯罪 __ 提交于 2019-12-11 09:34:24
FileSplit 分析 FileSplit类继承于InputSplit 属性和方法: 代码使用详解: package com.njbdqn.test ; import org.apache.hadoop.mapred.SplitLocationInfo ; import org.apache.hadoop.mapreduce.lib.input.FileSplit ; import java.io.IOException ; /** * @Author: Stephen * @Date: 2019/12/10 23:16 * @Content: */ public class FileSplitTest { public static void main ( String [ ] args ) throws IOException { FileSplit fs = new FileSplit ( ) ; String pathname = fs.getPath ( ) .getName ( ) ; //获取目录名字 int depth = fs.getPath ( ) .depth ( ) ; //获取目录深度 fs.getClass ( ) ; //获取当前类 long length = fs.getLength ( ) ; //获取文件长度 SplitLocationInfo

Qin Shi Huang's National Road System HDU - 4081 次小生成树之secondprim算法

五迷三道 提交于 2019-12-04 02:12:20
During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China ---- they were Qi, Chu, Yan, Han, Zhao, Wei and Qin. Ying Zheng was the king of the kingdom Qin. Through 9 years of wars, he finally conquered all six other kingdoms and became the first emperor of a unified China in 221 BC. That was Qin dynasty ---- the first imperial dynasty of China(not to be confused with the Qing Dynasty, the last dynasty of China). So Ying Zheng named himself "Qin Shi Huang" because "Shi Huang" means "the first emperor" in Chinese. Qin Shi Huang undertook gigantic

C - The Battle of Chibi HDU - 5542 (树状数组+离散化)

半腔热情 提交于 2019-11-26 14:17:33
Cao Cao made up a big army and was going to invade the whole South China. Yu Zhou was worried about it. He thought the only way to beat Cao Cao is to have a spy in Cao Cao's army. But all generals and soldiers of Cao Cao were loyal, it's impossible to convince any of them to betray Cao Cao. So there is only one way left for Yu Zhou, send someone to fake surrender Cao Cao. Gai Huang was selected for this important mission. However, Cao Cao was not easy to believe others, so Gai Huang must leak some important information to Cao Cao before surrendering. Yu Zhou discussed with Gai Huang and worked