摘要:
1: #include 2: #include 3: using namespace std; 4: const int maxn=10000; 5: int a[maxn],n; 6: 7: int Partition(int l,int r) 8: { 9: int key=a[l]; 10: while(l=key) r--; 13: a[l]=a[r]; 14: while(l<r&&a[l]<=key) l++; 15: a[r]=a[l]; 16: } 1... 阅读全文
posted @ 2014-03-08 11:42
ForeverEnjoy
阅读(1224)
评论(0)
推荐(0)
摘要:
1. ACM是一种很直接的评价程序员水平的体系 2. ACM竞赛会带来很多机遇(深造or工作),同时又是一个不小的挑战 3. 为竞赛而竞赛的事情不可取详细点击这里 阅读全文
posted @ 2014-03-08 11:16
ForeverEnjoy
阅读(465)
评论(0)
推荐(0)
摘要:
Ignatius and the Princess IIITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description"Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says. "The second problem is, given an positive inte 阅读全文
posted @ 2014-03-08 10:47
ForeverEnjoy
阅读(252)
评论(0)
推荐(0)

浙公网安备 33010602011771号