题目:
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
it a...
分类:
其他好文 时间:
2015-06-06 15:01:01
阅读次数:
139
Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 2469135...
分类:
其他好文 时间:
2015-06-05 11:54:10
阅读次数:
117
We shall say that an n-digit number is pandigital if it makes use of all the digits 1 to n exactly once. For example, 2143 is a 4-digit pandigital and is also prime.
What is the largest n-digit pandi...
分类:
其他好文 时间:
2015-06-05 10:11:25
阅读次数:
111
Letter Combinations of a Phone NumberTotal Accepted:40709Total Submissions:157759My SubmissionsQuestionSolutionGiven a digit string, return all possib...
分类:
编程语言 时间:
2015-06-05 06:09:34
阅读次数:
162
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 then that d...
分类:
其他好文 时间:
2015-06-04 19:18:39
阅读次数:
114
DescriptionGiven a positive integer N, you should output the most right digit of N^N. InputThe input contains several test cases. The first line of th...
分类:
Web程序 时间:
2015-06-04 18:50:26
阅读次数:
160
An irrational decimal fraction is created by concatenating the positive integers:
0.123456789101112131415161718192021...
It can be seen that the 12th digit of the fractional part is 1.
If dn repr...
分类:
其他好文 时间:
2015-06-04 13:55:04
阅读次数:
118
http://acm.hdu.edu.cn/showproblem.php?pid=3709
Problem Description
A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagi...
分类:
其他好文 时间:
2015-06-04 08:38:15
阅读次数:
129
145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145.
Find the sum of all numbers which are equal to the sum of the factorial of their digits.
Note: as 1! = 1 and 2! = 2 are not sums they...
分类:
其他好文 时间:
2015-06-03 15:53:03
阅读次数:
112