博客专栏  >  架构   >  ACM和算法浅谈系列

ACM和算法浅谈系列

ACM和算法浅谈系列

关注
0 已关注
7篇博文
  • FZU 2122(KMP)

    /*FZU 2122(简单字符串匹配,KMP算法) 题目大意: 就是给你3个字符串,第一个是模式串(用该串在文本串中去查找与之相同的串)即子串, 第二个字符串是去替换在文本串(即主串)已找到相同的子串...

    2014-08-01 15:12
    601
  • FZu 2134

    /*该题本来是可以用树状数组写的 但是个人觉得简单,就用普通方法直接AC了, */ # include # include # include # include # include # includ...

    2014-08-01 16:01
    392
  • 博弈论--巴什博弈——HDU1846

    /*巴什博弈:HDU--1846*/ # include using namespace std; int main() {     int t;     int n,m;     ci...

    2014-05-25 18:02
    761
  • HDU1863---最小生成树(prim算法)

    /*最小生成树基本算法HDU 1863*/ # include # include using namespace std; const int N=205; const int INF=1...

    2014-05-17 00:15
    630
  • 并查集 hdu 1232

    /*hdu 1232 并查集*/ # include # include # include # include # include # include using namespace std; in...

    2014-07-22 16:23
    674
  • hdu 1198(再续并查集)

    /*再续并查集 hdu 1198*/ # include # include # include # include # include # include using namespace std; ...

    2014-07-22 16:48
    680
  • hdu---1010 Tempter of the Bone (经典DFS,注意剪枝)

    Tempter of

    2014-07-10 17:46
    610

img博客搬家
img撰写博客
img专家申请
img意见反馈
img返回顶部