1023. Have Fun with Numbers (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueNotice that the number 123456789 is a 9-digit number consist...
分类:
其他好文 时间:
2015-08-28 02:07:52
阅读次数:
189
DescriptionFJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 2 #include 3 #include 4 using namespace std; 5 #de....
分类:
其他好文 时间:
2015-08-28 02:06:17
阅读次数:
196
Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3 + ...
分类:
其他好文 时间:
2015-08-27 09:32:30
阅读次数:
123
后缀自动机求不同的串,然后DP.....
K-hash
Time Limit: 2 Seconds Memory Limit: 131072 KB
K-hash is a simple string hash function. It encodes a string Sconsist of digit characters into a K-dimension...
分类:
其他好文 时间:
2015-08-26 12:06:33
阅读次数:
204
bash的基础特性1、glob通配字符*多个任意字符?一个任意字符[]匹配指定范围内的任意单个字符[^]匹配范围外的任意单个字符[:lower:]小写字母#中括号为字符集的一部分,使用时还要加中括号[:upper:]大写字母[:alnum:]所有字母[:digit:]数字[:space:]空白字符[:punct:]标点符号2、..
分类:
系统相关 时间:
2015-08-26 00:05:11
阅读次数:
158
题目链接:https://leetcode.com/problems/add-digits/
题目:
Given a non-negative integer num, repeatedly add all its digits until the
result has only one digit.
For example:
Given num = 38, the pro...
分类:
其他好文 时间:
2015-08-25 23:53:39
阅读次数:
174
Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3 + ...
分类:
编程语言 时间:
2015-08-25 16:31:53
阅读次数:
153
题目:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is...
分类:
其他好文 时间:
2015-08-25 16:14:55
阅读次数:
190
占位,待完善。。。bash的基础特性(2)(1)glob文本名“通配”*:匹配任意长度的任意字符;?:匹配任意单个字符;a*b:aab,ab,a123b;a?b:[]:匹配指定范围内的任意单个字符;[0-9][^]:匹配范围外的任意单个字符;[^a-b]字符集合:[:lower:][:upper:][:alnum:][:digit:][:space:][:..
分类:
其他好文 时间:
2015-08-25 12:20:32
阅读次数:
182
基础特性2
1、文本名"通配"
特殊符号的含义
*任意长度的任意字符
?任意单个字符
[:alnum:]大、小写字母和数字
[:alpha:]大、小写字母
[:upper:]大写字母
[:lower:]小写字母
[:digit:]数字
[:space:]空白字符
[:punct:]特殊符号
显示/tmp下非字母开头的文件
复制/etc下.d结..
分类:
其他好文 时间:
2015-08-25 12:16:10
阅读次数:
180