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

其实这个改成 return (const int)a>(const int)b?1:-1 就可以

Posted by noneid at 2005-10-19 20:59:55
In Reply To:可是对整形数据比较的时候 我写成 return (const int)a>(const int)b?(const int)a:(const int)b 却错了 Posted by:noneid at 2005-10-19 20:31:36


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