摘要: AdjustDown函数是主要的 阅读全文
posted @ 2016-12-19 19:52 自在飞花轻似梦 阅读(976) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 using namespace std; 3 4 5 void print(int a[],int n) 6 { 7 for(int i=0;i<n;i++) 8 cout<<a[i]<<" "; 9 cout<<endl; 10 } 11 void q 阅读全文
posted @ 2016-12-19 18:44 自在飞花轻似梦 阅读(1457) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 using namespace std; 3 4 int bin_search(int a[],int left,int right,int x) 5 { 6 if(lefta[mid]) 12 return bin_search(a,mid+1,right,x); 13 else 14 ... 阅读全文
posted @ 2016-12-14 20:58 自在飞花轻似梦 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 using namespace std; 3 4 int maxnum(int a[],int low,int high) 5 { 6 if(low==high) 7 return a[low]; 8 else 9 { 10 int mid=(low+high)/2; 11 i... 阅读全文
posted @ 2016-12-13 16:42 自在飞花轻似梦 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 using namespace std; 3 4 void Merger_Sort(int a[],int low,int high) 5 { 6 int temp[20]; 7 if(low==high) 8 return ; 9 else 10 { 11 int mid=(lo... 阅读全文
posted @ 2016-12-13 11:38 自在飞花轻似梦 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 待续。。。 阅读全文
posted @ 2016-12-01 17:51 自在飞花轻似梦 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 1) 输出: 阅读全文
posted @ 2016-12-01 16:32 自在飞花轻似梦 阅读(1052) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 2 "http://www.w3.org/TR/html4/loose.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml 阅读全文
posted @ 2016-12-01 16:23 自在飞花轻似梦 阅读(144) 评论(0) 推荐(0) 编辑
摘要: test_ajax_get.html test_ajax_get.php ps: print_r(); 用于输出数组 阅读全文
posted @ 2016-12-01 16:21 自在飞花轻似梦 阅读(181) 评论(0) 推荐(0) 编辑
摘要: test_ajax_post.html test_ajax_post.php 显示结果: 阅读全文
posted @ 2016-12-01 16:20 自在飞花轻似梦 阅读(223) 评论(0) 推荐(0) 编辑