Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

不清楚的话就自己去看MSDN

Posted by frkstyc at 2005-10-02 19:47:18 on Problem 2623
In Reply To:大牛门帮帮我吧,我不清楚为什么这样一改qsort会有如此大的区别,谢谢了, Posted by:Essence_me at 2005-10-02 19:41:14
> int sort_function(const void *a,const void *b)
> {
> 	if(*(unsigned int*)a>*(unsigned int*)b)return 1;
> 	else //if(*(unsigned int*)a==*(unsigned int*)b)return 0;<-缺这个就是不行
> return -1;
> }

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator