Given a digit string, return all possible
letter combinations that the number could represent.A mapping of digit to
letters (just like on the telephon...
分类:
其他好文 时间:
2014-04-30 03:52:56
阅读次数:
411
It is one of the fashion trends that never go
out of fashion, Louis Vuitton handbag ! And "being in fashion trends for many
years, and this season is ...
分类:
其他好文 时间:
2014-04-30 03:07:40
阅读次数:
510
DFS。 1 #include 2 #include 3 4 #define MAXNUM
105 5 6 int map[MAXNUM][MAXNUM], ways[MAXNUM][MAXNUM], n, m; 7 8 int dfs(int x,
int y) { 9 int ...
分类:
其他好文 时间:
2014-04-29 23:21:58
阅读次数:
383
A LiveJournal course of developmentis a project
in the 99 years began in the campus, a few people do as a hobby such an
application, in order to achie...
分类:
其他好文 时间:
2014-04-29 19:38:16
阅读次数:
589
2014-04-28
22:18题目:计算N的阶乘尾巴上有多少个零?解法:计算5的个数即可,因为2 * 5 = 10,2的个数肯定比5多。计算5的个数可以在对数时间内搞定。代码: 1
// 17.3 Count how many zeros are there in n!? 2 // Count t...
分类:
其他好文 时间:
2014-04-29 17:45:30
阅读次数:
365
Barnyard game -- People will often avoid
conceptualization, or at least avoid publicizing the output because expression
of new ideas sometimes makes y...
分类:
其他好文 时间:
2014-04-29 17:12:24
阅读次数:
501
DescriptionLetxandybe two strings over some finite
alphabetA. We would like to transformxintoyallowing only operations given
below:Deletion:a letter i...
分类:
其他好文 时间:
2014-04-29 16:22:00
阅读次数:
450
矩阵乘法,用DP做各种wa,后来发现原因了。 1 #include 2 #include 3 4
typedef struct { 5 int map[20][20]; 6 } matrix_st; 7 8 matrix_st res, org; 9 int
n, m;10 11 m...
分类:
其他好文 时间:
2014-04-29 11:26:46
阅读次数:
418
Alice and BobDescriptionAlice and Bob like
playing games very much.Today, they introduce a new game.There is a polynomial
like this: (a0*x^(2^0)+1) * ...
分类:
其他好文 时间:
2014-04-28 02:50:32
阅读次数:
357
The string"PAYPALISHIRING"is written in a
zigzag pattern on a given number of rows like this: (you may want to display
this pattern in a fixed font fo...
分类:
其他好文 时间:
2014-04-27 21:36:45
阅读次数:
515