上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 37 下一页

2014年10月4日

grep 命令

摘要: 语法:grep[-cinvABC]'word'filename-c :打印符合要求的行数-i :忽略大小写-n :在输出符合要求的行的同时连同行号一起输出-v :打印不符合要求的行-A :后跟一个数字(有无空格都可以),例如 –A2则表示打印符合要求的行以及下面两行-B :后跟一个数字,例如 –B2... 阅读全文

posted @ 2014-10-04 23:57 Stomach_ache 阅读(140) 评论(0) 推荐(0) 编辑

2014年9月28日

待解决问题

摘要: 1。Splay.题目链接2。树链剖分3。LCT 阅读全文

posted @ 2014-09-28 20:13 Stomach_ache 阅读(100) 评论(0) 推荐(0) 编辑

LTIME16小结(CodeChef)

摘要: 题目链接最后一题是Splay...还没有学会。。蒟蒻!!!A 1 /************************************************************************* 2 > File Name: A.cpp 3 > Author: S... 阅读全文

posted @ 2014-09-28 20:11 Stomach_ache 阅读(269) 评论(0) 推荐(0) 编辑

Splay模板

摘要: 1 //poj3580 2 //#pragma comment(linker,"/STACK:102400000,102400000") 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include ... 阅读全文

posted @ 2014-09-28 17:37 Stomach_ache 阅读(251) 评论(0) 推荐(0) 编辑

2014年9月24日

Hdu 2874(LCA)

摘要: 题目链接Connections between citiesTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5037Accepted Submis... 阅读全文

posted @ 2014-09-24 21:58 Stomach_ache 阅读(176) 评论(0) 推荐(0) 编辑

Lowest Common Ancestor (LCA)

摘要: 题目链接In a rooted tree, thelowest common ancestor(or LCA for short) of two verticesuandvis defined as the lowest vertex that is ancestor of both that tw... 阅读全文

posted @ 2014-09-24 19:59 Stomach_ache 阅读(523) 评论(0) 推荐(0) 编辑

COOK50小结

摘要: 题目链接很遗憾。看到第五题的通过人数就不敢做了。待日后补上。A题求最长的连续子序列,使得他们满足gcd为1。如果有相邻的两个数的gcd为1,那么整个序列的gcd值也就是1,否则就是该序列不存在。 1 /*************************************************... 阅读全文

posted @ 2014-09-24 14:19 Stomach_ache 阅读(180) 评论(0) 推荐(0) 编辑

2014年9月19日

Codeforces 467D

摘要: 题目链接D. Fedor and Essaytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter you had helped Fedor... 阅读全文

posted @ 2014-09-19 22:07 Stomach_ache 阅读(240) 评论(0) 推荐(0) 编辑

2014年9月17日

Functional Programming Contest - September'14

摘要: 比赛链接A题1 -- Enter your code here. Read input from STDIN. Print output to STDOUT2 main = do3 x [y]++[x]++acc) [] $ zip x yB题1 -- Enter your code he... 阅读全文

posted @ 2014-09-17 18:52 Stomach_ache 阅读(176) 评论(0) 推荐(0) 编辑

CodeChef--SEPT14小结

摘要: 这套题目只做了几个相对简单的。其他的做起来比较吃力。A找下规律 1 /************************************************************************* 2 > File Name: A.cpp 3 > Author: ... 阅读全文

posted @ 2014-09-17 15:25 Stomach_ache 阅读(226) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 37 下一页

导航