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

comp中不能用关系表达式

Posted by tangson at 2010-12-02 18:52:47 on Problem 2218
In Reply To:请问这个程序有什么问题啊,为什么会WA的? Posted by:200630690119 at 2008-07-17 20:06:10
>> 
> int comp(const void*a,const void*b){
> 	struct d* x=(struct d*)a;
> 	struct d* y=(struct d*)b;
> 	return (x->weight-y->weight);
> }

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