题目大意:
Here are two numbers A and B (0
For each x, f(x) equals to the amount of x’s special numbers.
For example, f(6)=1, because 6 only have one special number which is 4. And f(12)=3, its spe...
分类:
其他好文 时间:
2015-02-18 14:07:34
阅读次数:
205
Drazil is playing a math game with Varda.Let’s define for positive integer x as a product of factorials of its digits. For example, .First, they choose a decimal number a consisting of n digits that co...
分类:
其他好文 时间:
2015-02-18 13:02:15
阅读次数:
103
The difference of 0 & '0' & '\0'
------------------------------------------------------------
0 is a number(decimal).
------------------------------------------------------------
'0' is a char. It...
分类:
其他好文 时间:
2015-02-18 11:52:47
阅读次数:
104
Drazil is playing a math game with Varda.
Let’s define for positive integer x as a product of factorials of its digits. For example, .
First, they choose a decimal number a consisting of n digits that contain...
分类:
其他好文 时间:
2015-02-18 06:13:14
阅读次数:
172
LeetCode[Sort]: Largest Number
Given a list of non negative integers, arrange them such that they form the largest number.
For example, given [3, 30, 34, 5, 9], the largest formed number is 953433...
分类:
其他好文 时间:
2015-02-17 21:08:13
阅读次数:
215
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2015-02-17 19:54:58
阅读次数:
146
DescriptionMatt has N friends. They are playing a game together.Each of Matt’s friends has a magic number. In the game, Matt selects some (could be ze...
分类:
移动开发 时间:
2015-02-17 17:41:00
阅读次数:
197
Problem Description
You are given a number of case-sensitive strings of alphabetic characters, find the largest string X, such that either X, or its inverse can be found as a substring of any of the g...
分类:
其他好文 时间:
2015-02-17 16:33:16
阅读次数:
146
Given a list of non negative integers, arrange them such that they form the largest number.
For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330.
Note: The result may be ve...
分类:
其他好文 时间:
2015-02-17 14:08:08
阅读次数:
165
题目大意:
After the Ferries Wheel, many friends hope to receive the Misaki's kiss again,so Misaki numbers them
1,2...N?1,N,if
someone's number is M and satisfied the GCD(N,M)
equals to N
XOR M,he
...
分类:
其他好文 时间:
2015-02-17 14:07:57
阅读次数:
133