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:谢谢大家,终于过了,有几点经验和原代码:

Posted by kicc at 2003-07-12 21:57:54 on Problem 1002
In Reply To:谢谢大家,终于过了,有几点经验和原代码: Posted by:yuenyun at 2003-07-10 19:20:16
我感觉c++的排序不比c的差
我一直用c++的排序

对于内置的类型c++的排序应该要快一些
应为判断大小的时候没有函数调用

要添加比较函数的话,两个速度也差不多

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