Problem DescriptionThe digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then...
分类:
其他好文 时间:
2015-05-12 11:13:47
阅读次数:
93
Description
A single positive integer i is given. Write a program to find the digit located in the position i in the sequence of number groups S1S2...Sk. Each group Sk consists of a sequence of pos...
分类:
其他好文 时间:
2015-05-11 21:55:59
阅读次数:
104
题目:输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。#includeint main(void){ char c; int letters = 0, space = 0, digit = 0, others = 0; while ((c=getchar())...
分类:
编程语言 时间:
2015-05-11 14:24:51
阅读次数:
103
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 4946
Accepted: 2850
Description
FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 ...
分类:
其他好文 时间:
2015-05-11 13:05:17
阅读次数:
107
Problem:
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
...
分类:
编程语言 时间:
2015-05-10 14:18:54
阅读次数:
159
【题目】
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below....
分类:
其他好文 时间:
2015-05-08 09:29:30
阅读次数:
121
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 at...
分类:
其他好文 时间:
2015-05-08 06:55:03
阅读次数:
120
题目描述:
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return i...
分类:
其他好文 时间:
2015-05-07 12:36:34
阅读次数:
119
Digit NumberTime Limit:10 Seconds Memory Limit:65536 KBGiven an integernand an integerm, please calculate the minimal multiple ofnwhich consists of ex...
分类:
其他好文 时间:
2015-05-07 06:22:22
阅读次数:
90
Problem:
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and retur...
分类:
其他好文 时间:
2015-05-05 19:36:52
阅读次数:
139