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 |
Re:把边的编号从0开始就ac了,从1开始就sort出错,真是弄不懂STL啊In Reply To:把边的编号从0开始就ac了,从1开始就sort出错,真是弄不懂STL啊 Posted by:bsblcc at 2015-11-24 21:06:11 把a数组从0至n-1排序 sort(a,a+n); 把a数组从1至n排序 sort(a+1,a+1+n); Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator