知识点 结构 struct student { int num; /*学号*/ char name [10]; /*姓名*/ int computer, english,math; /*三门课程成绩*/ double average; /*个人平均成绩*/ }; 大括号中以变量定义的形式列出了学生的 ...
分类:
其他好文 时间:
2016-12-15 17:45:42
阅读次数:
177
不多说,直接上代码。 代码 package zhouls.bigdata.myMapReduce.ScoreCount; import java.io.IOException;import org.apache.hadoop.conf.Configuration;import org.apache. ...
一、list 1、定义: list是一种有序的集合,可以随时添加和删除其中的元素 2、声明方法: subjects=['Math','English', 'Chinese'] 3、一些api (1)获取list元素个数 len(subjects) (2)用索引来访问list中每一个位置的元素,记得索... ...
分类:
编程语言 时间:
2016-12-11 20:47:57
阅读次数:
227
Given a non-empty string containing an out-of-order English representation of digits 0-9, output the digits in ascending order. Note: Example 1: Examp ...
分类:
其他好文 时间:
2016-12-10 06:59:14
阅读次数:
203
在本书的写作过程中,我阅读了大量的英语论文和书籍,我深切感受到英语对于程序员这种新技术层出不穷职业的重要性,为了帮助广大程序员更好地学习英语,我发起了一个开源项目:Project English,它以程序员的思维和方法来学习英语,希望能够在技术分享之外给您带来更大更广泛地帮助。 ...
分类:
其他好文 时间:
2016-12-09 15:49:55
阅读次数:
166
http://keenwon.com/1404.html Elasticsearch中,内置了很多分词器(analyzers),例如standard (标准分词器)、english(英文分词)和chinese (中文分词)。其中standard 就是无脑的一个一个词(汉字)切分,所以适用范围广,但是 ...
分类:
其他好文 时间:
2016-12-08 03:09:40
阅读次数:
326
1、curriculum 必修课 主修课 2、sought seek的过去式 3、blessed with a wonderful marriage 有个幸福美满的婚姻 4、align 对齐 联盟 匹配 5、assumption 假设 6、prevail 战胜 胜利 7、deserve 应得 应受 ...
分类:
其他好文 时间:
2016-12-07 02:36:47
阅读次数:
224
1.、fumbling 缓慢 笨拙的 2、dancing with impatience in the chekout line sighed exasperation 在安全线外晃动身体恼怒的叹气 3、humiliation 谦卑的 4、feeble 无力 微弱的 5、hold up 耽误 6、c ...
分类:
其他好文 时间:
2016-12-07 02:19:42
阅读次数:
120
# of '0': # of 'z' # of '2': # of 'w' 4: u 6: x 8: g 3: h - 8 5: f - 4 7: s - 6 1: o - 0 - 2 - 4 9: i - 5 - 6 - 8 我的code用了一个数组来存char count ...
分类:
其他好文 时间:
2016-12-05 09:30:45
阅读次数:
251
对文中出现的句号,逗号和感叹号做了相应的处理 sorted排序函数用法: 按照value值降序排列: 按照value值升序排序: 按照key值降序排列: 按照key值升序排列: ...
分类:
编程语言 时间:
2016-12-05 01:38:43
阅读次数:
1083