题目 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 i
分类:
其他好文 时间:
2016-02-05 01:12:00
阅读次数:
279
Problem Description: The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit th
分类:
其他好文 时间:
2016-02-02 17:36:24
阅读次数:
133
Rightmost Digit Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 43732 Accepted Submission(s): 16
分类:
Web程序 时间:
2016-02-01 20:55:34
阅读次数:
127
Description Find and list all four-digit numbers in decimal notation that have the property that the sum of its four digits equals the sum of its digi
分类:
其他好文 时间:
2016-01-30 17:52:35
阅读次数:
225
Digit Counting Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status Description Download as PDF Trung is bored with his
分类:
其他好文 时间:
2016-01-29 11:36:14
阅读次数:
430
*:匹配任意长度的任意字符 ?:匹配任意单个字符 []:匹配指定范围内的任意单个字符 。如[a-z],[0-9],[a-z0-9] [[:upper:]]:所有大写字母 [[:lower:]]:所有小写字母 [[:alpha:]]:所有字母 [[:digit:]]:所有数字 [[:alnum:]]:
分类:
其他好文 时间:
2016-01-27 22:45:21
阅读次数:
191
We can find the regular pattern in gray code, which is:the first of the combinations of n-digit gray code is exactly the combinations of (n-1)-digit g...
分类:
其他好文 时间:
2016-01-24 11:29:48
阅读次数:
109
[:alnum:] 字母与数字[:alpha:] 字母[:blank:] 空格与制表符[:cntrl:] 控制字符[:digit:] 数字[:graph:] 可打印的与可见的(不包括空格)字符[:lower:] 小写字符[:print:] 可打印的字符...
分类:
其他好文 时间:
2016-01-23 21:16:42
阅读次数:
117
题目描述: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 ...
分类:
编程语言 时间:
2016-01-22 00:04:33
阅读次数:
213
1 #include 2 #define ll long long 3 4 const ll MOD = 1e9; 5 6 int main() 7 { 8 ll N, M; 9 while(scanf("%lld%lld", &N, &M) != EOF)10 {1...
分类:
其他好文 时间:
2016-01-21 22:54:38
阅读次数:
211