摘要:
AdjustDown函数是主要的 阅读全文
摘要:
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 阅读全文
摘要:
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 ... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
待续。。。 阅读全文
摘要:
1) 输出: 阅读全文
摘要:
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 阅读全文
摘要:
test_ajax_get.html test_ajax_get.php ps: print_r(); 用于输出数组 阅读全文
摘要:
test_ajax_post.html test_ajax_post.php 显示结果: 阅读全文