| ||||||||||
| 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 | |||||||||
少贡献几个WA 贴一个排序规则int cmp( PPT *a , PPT *b ){
if( a->id > b->id ) return 1 ;
if( a->id < b->id ) return -1 ;
if( a->timeout < b->timeout ) return -1 ;
if( a->timeout > b->timeout ) return 1 ;
else return 0;
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator