上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 37 下一页

2014年7月25日

python 中初始化二维数组的方法

摘要: 最好的方法是:初始化4*3的二维数组a = [[0 for col in xrange(3)] for row in xrange(4)]而不可以用:a = [[0]*3]*4[0]*3是生成一个一维数组,再*4只是会复制出三个引用,当修改a[0][0]时,其他的三个引用的值也会发生改变,故这种方法... 阅读全文

posted @ 2014-07-25 23:52 Stomach_ache 阅读(653) 评论(0) 推荐(0) 编辑

Codeforces 451D

摘要: 题目链接D. Count Good Substringstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWe call a stringgood... 阅读全文

posted @ 2014-07-25 23:41 Stomach_ache 阅读(268) 评论(0) 推荐(0) 编辑

2014年7月22日

Poj 2796 单调栈

摘要: 关于单调栈的性质,和单调队列基本相同,只不过单调栈只使用数组的尾部, 类似于栈。Accepted Code: 1 /************************************************************************* 2 > File Name:... 阅读全文

posted @ 2014-07-22 12:34 Stomach_ache 阅读(231) 评论(0) 推荐(0) 编辑

ftp命令

摘要: 输入问号(?),回车,就可以查看可以使用的命令ftp> ?Commands may be abbreviated. Commands are:!crmdirproxysend$deletemgetsendportsiteaccountdebugmkdirputsizeappenddirmlspwd... 阅读全文

posted @ 2014-07-22 11:35 Stomach_ache 阅读(232) 评论(0) 推荐(0) 编辑

2014年7月20日

Codeforces 449B

摘要: 题目链接B. Jzzhu and Citiestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputJzzhu is the president of... 阅读全文

posted @ 2014-07-20 22:23 Stomach_ache 阅读(308) 评论(0) 推荐(0) 编辑

Hdu 1080

摘要: 题目链接Human Gene FunctionsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2271Accepted Submission(s)... 阅读全文

posted @ 2014-07-20 21:42 Stomach_ache 阅读(158) 评论(0) 推荐(0) 编辑

Codeforces 113C

摘要: 题目链接C. Double Happinesstime limit per test5 secondsmemory limit per test128 megabytesinputstandard inputoutputstandard outputOn the math lesson a teac... 阅读全文

posted @ 2014-07-20 14:23 Stomach_ache 阅读(263) 评论(0) 推荐(0) 编辑

Codeforces 3D

摘要: 题目链接D. Least Cost Bracket Sequencetime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputThis is yet anot... 阅读全文

posted @ 2014-07-20 00:30 Stomach_ache 阅读(277) 评论(0) 推荐(0) 编辑

2014年7月19日

Codeforces 113B

摘要: 题目链接B. Petr#time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLong ago, when Petya was a schoolboy... 阅读全文

posted @ 2014-07-19 10:45 Stomach_ache 阅读(747) 评论(3) 推荐(0) 编辑

2014年7月16日

Hdu 1025(LIS)

摘要: Constructing Roads In JGShining's KingdomTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15126Acce... 阅读全文

posted @ 2014-07-16 23:53 Stomach_ache 阅读(202) 评论(0) 推荐(0) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 37 下一页

导航