Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这种情况就把array[N][2]写成一个struct。In Reply To:假如我要按照一个二维数组的[i][0]排序,但排序的同时我也要交换[i][1]的位置,那我是否就只能自己编quicksort而不能用stl了呢? Posted by:Nowitzki at 2007-03-01 10:56:04 比如 struct ARRAY { int a,b; } array[N]; Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator