把每个单词“标准化“,即全部转化为小写再排序,然后放到map中统计。 ...
分类:
其他好文 时间:
2019-02-05 18:06:54
阅读次数:
194
Difficulty: Easy Problem Given a string and a character , return an array of integers representing the shortest distance from the character in the str ...
分类:
其他好文 时间:
2019-02-05 16:55:37
阅读次数:
151
Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters of sequentially adja ...
分类:
其他好文 时间:
2019-02-03 01:00:44
阅读次数:
324
A. Meeting of Old Friends time limit per test:1 second time limit per test:1 second memory limit per test:256 megabytes memory limit per test:256 mega ...
分类:
其他好文 时间:
2019-02-02 18:57:00
阅读次数:
263
A. Vitya in the Countryside time limit per test:1 second time limit per test:1 second memory limit per test:256 megabytes memory limit per test:256 me ...
分类:
其他好文 时间:
2019-02-02 17:32:27
阅读次数:
155
Linux终端 虚拟终端 mingetty程序产生 切换终端 ctrl+alt+fn n=1-6 输入tty 显示当前是那个终端 模拟终端 使用ssh通过网络连接到Linux /dev/pts/0 Secure shell SSH TCP 22端口连接到Linux Linux的shell GUI G ...
分类:
系统相关 时间:
2019-02-02 11:15:07
阅读次数:
206
练习2-12 输出华氏-摄氏温度转换表 (15 分) 输入2个正整数lower和upper(lower≤upper≤100),请输出一张取值范围为[lower,upper]、且每次增加2华氏度的华氏-摄氏温度转换表。 温度转换的计算公式:C=5×(F?32)/9,其中:C表示摄氏温度,F表示华氏温度 ...
分类:
编程语言 时间:
2019-02-01 18:54:14
阅读次数:
298
STL: 容器与迭代器的概念 重载运算符 vector: v.size(); v.push_back(); v[i]; set: set.insert(); set.erase(); set.begin(); set.end();指到最后一个的后一个 set.count(); set.lower_b ...
分类:
其他好文 时间:
2019-02-01 01:15:02
阅读次数:
185
一、find 作用是从一个字符串中查找自字符串 二、join 作用是往字符串中添加元素 三、lower 作用是转换字符串中的字母的大小写 四、replace 五、split 六、strip 七、translate ...
分类:
其他好文 时间:
2019-01-30 22:18:36
阅读次数:
132