- 博客(2)
- 资源 (5)
- 收藏
- 关注
原创 汉诺塔问题的解决程序的实现
#includeusing namespace std;int N=0;int Move(int n,char from,char to,char aux){ if(n==1){ cout } else{ Move(n-1,from,aux,to); cout Move(n-1,aux,to,from); N+=2; } return N+1;// Hum(from)}int main(
2009-01-01 17:04:00 465
原创 冒泡排序的实现
#includeusing namespace std;#define N 10void BubbleSort(int array[]){ static int sum=0; int temp=0; bool bo=true; int i=0; while(i bo=false; for(int s=0;s cout } cout for(int j=i+1;j { if(a
2009-01-01 16:53:00 354
GPRS原理及其网络优化-韩斌杰
2009-08-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人