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

嘿嘿,今天早上才知道的next_permutation(),晚上就用了

Posted by hutu_2000 at 2009-04-05 19:58:43 on Problem 1731 and last updated at 2009-04-05 20:00:06
In Reply To:Re:不会用C++ STD 的排列,最后自己写的235ms... Posted by:hutu_2000 at 2009-04-05 19:58:21
next_permutation(b,b+n)一下就可以了

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