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 |
谢谢兄弟!In Reply To:Re:那这样怎么样用sort函数呢? Posted by:aCSaga at 2007-03-01 12:37:28 > bool cmp(ARRAY a, ARRAY b) { > return a.a<b.a; > } > sort(array, array+n, cmp); Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator