- 博客(3)
- 收藏
- 关注
原创 [c++]快速排序
快速排序:#includeusing namespace std;void quick_sort(int s[],int l,int r){ if(l<r) { int i=l; int j=r; int x=s[l]; while(i<j) { while(i=x)
2015-04-18 21:19:56
203
原创 [c++]选择排序
#includeusing namespace std;const int N=11;int main(){ int i,j,temp,b; int a[11]={25,36,56,88,96,45,10,33,2,36,155}; for(i=0;i<N-1;i++) { temp=i; for(j=i+1;j<N;j++)
2015-04-18 21:18:41
249
原创 HDU-2547 无剑无我
无剑无我Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 34 Accepted Submission(s) : 17Font: Times New Roman | Verdana | GeorgiaFont
2015-03-31 21:36:12
220
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人