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

Re:sort排序 16MS AC 附代码

Posted by RainyPine at 2011-08-28 11:42:59 on Problem 1007 and last updated at 2011-08-28 11:44:03
In Reply To:sort排序 16MS AC 附代码 Posted by:kingsword at 2011-08-25 16:06:21
sort是稳定排序吗?
我觉得应该再在结构体中定义一个int Seq 存储本身顺序  用于比较函数中 保证相同inversion的结构体能按原始顺序输出

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