Pandigital products
Problem 32
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, the 5-digit number, 15234, is 1 through 5 pandigit...
分类:
其他好文 时间:
2015-07-25 22:59:43
阅读次数:
141
public static String digitUppercase(double n){String fraction[] = {"角", "分"};String digit[] = { "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖" };Str...
分类:
编程语言 时间:
2015-07-25 16:34:06
阅读次数:
130
Each of the six faces on a cube has a different digit (0 to 9) written on it; the same is done to a second cube. By placing the two cubes side-by-side in different positions we can
form a variety of...
分类:
其他好文 时间:
2015-07-24 22:42:52
阅读次数:
231
Leftmost Digit
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 14696 Accepted Submission(s): 5660
Problem Description
Given a po...
分类:
其他好文 时间:
2015-07-24 20:51:12
阅读次数:
104
问题描述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...
分类:
其他好文 时间:
2015-07-24 09:14:22
阅读次数:
120
题目链接 题目: 通过置换*3的第一位得到的9个数中,有六个是质数:13,23,43,53,73和83。 通过用同样的数字置换56**3的第三位和第四位,这个五位数是第一个能够得到七个质数的数字,得到的质数是:56003, 56113, 56333, 56443, 56663, 56773, 和 5...
分类:
其他好文 时间:
2015-07-23 23:41:44
阅读次数:
218
Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n.For example:Given n = 13,Return 6...
分类:
其他好文 时间:
2015-07-23 13:38:27
阅读次数:
102
Specialized Four-Digit Numbers
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 4963 Accepted Submission(s): 3587
Problem Description
Find ...
分类:
其他好文 时间:
2015-07-22 22:57:43
阅读次数:
118
Letter Combinations of a Phone NumberGiven a digit string, return all possible letter combinations that the number could represent.A mapping of digit ...
分类:
其他好文 时间:
2015-07-22 18:00:14
阅读次数:
91
You are giventwo linked lists representing two non-negative numbers. The digits are storedin reverse order and each of their nodes contain a single digit. Add the twonumbers and return it as a linked ...
分类:
其他好文 时间:
2015-07-21 12:53:28
阅读次数:
121