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 20053565 at 2007-01-28 16:45:19 on Problem 3187
In Reply To:怎么老是超时?? Posted by:20053580 at 2007-01-28 15:35:18
> 各位大虾,有谁有可以优化的好点子呢~~~~~~ 
用一下next_permutation就行啊
还有求和的时候用组合数就好了

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