- 博客(3)
- 收藏
- 关注
原创 [c++]快速排序
快速排序: #include using 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
241
原创 [c++]选择排序
#include using 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
309
原创 HDU-2547 无剑无我
无剑无我 Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 34 Accepted Submission(s) : 17 Font: Times New Roman | Verdana | Georgia Font
2015-03-31 21:36:12
253
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅