自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (8)
  • 收藏
  • 关注

原创 幂运算

#include // x^n int pow(int x,int n) { if (x == 0) return 0; if (n == 0) return 1; if(n%2==0) return pow(x*x,n/2); return x*pow(x*x,n/2); } // (x^n)%m int powmod(int

2012-11-01 22:50:33 165

原创 最长公共子序列

#include #include int max(int a,int b) { return a>b?a:b; } int m[1000][1000]; int LCS(char *x,char *y) { int i,j,xs=strlen(x),ys=strlen(y); for(i=1; i <= xs; ++i) for(j=1; j <= y

2012-10-03 14:15:54 236

原创 最长公共子串

#include #include int m[1000][1000]; char* LCS(char *x,char *y) { int i,j,LCS_MAXLEN=0,lx,ly,Pos_x; for(i=1,lx=strlen(x),ly=strlen(y); i<=lx; i++) for(j=1; j<=ly; j++) {

2012-10-03 14:13:25 146

原创 单链表的基本操作

/** 单链表的基本操作 */ #include #include typedef int DataType; typedef struct node { DataType data; struct node *next; } node, *LinkList; /** 创建空表: */ void Init_List(LinkList *L) { *L=(Li

2012-10-03 14:02:57 307

C/C++ 函数手册

C/C++ 函数手册 非常的全面,不下 你就 后悔了。

2012-09-28

杭电ACM课件

杭电ACM课件

2012-09-28

麻省理工学院-算法导论

[麻省理工学院-算法导论]

2012-09-28

C语言版(数据结构).

C语言版(数据结构)

2012-09-28

数据结构算法与应用-C++语言描述

数据结构算法与应用 - C++语言描述

2012-09-28

数据结构:使用C++标准模板库(STL).

数据结构:使用C++标准模板库(STL).

2012-09-28

JDK api 1.7.chm

JDK api 1.7.chm

2012-09-28

eclipse教程

eclipse教程

2012-09-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除