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 |
一组测试数据3 3 1 2 -3 2 2 4 3 -3 1 2 -3 2 2 1 0 0 Case 1: -1 Case 2: -1 注意: 用qsort时 要这么用 int cmp(const void *a, const void *b) { return (*(range *)a).x > (*(range *)b).x ? 1 : -1; } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator