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

你sort就行了~~x/2+1 和 (x+1)/2是在这里是没啥区别

Posted by mixter at 2005-09-03 09:46:46 on Problem 2370
In Reply To:但题目中指出是奇数,x/2+1 和 (x+1)/2 并没有什么区别,还请指教,compare函数按照我的写法是否不能符合题目的要求 Posted by:Gump at 2005-09-03 09:26:05


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