码迷,mamicode.com
首页 >  
搜索关键字:too many links;mkdir    ( 8984个结果
Louis Vuitton Bags Are Actually Very Versatile
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
【HDOJ】1978 How many ways
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
《Cracking the Coding Interview》——第17章:普通题——题目3
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
【HDOJ】2157 How many ways??
矩阵乘法,用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
8984条   上一页 1 ... 897 898 899
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!