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

我排一次序,然后做个循环对k+1到3k的random_shuffle,直到满足条件就行了

Posted by sunmoonstar_love at 2005-06-29 22:28:14 on Problem 2454
In Reply To:谢谢styc,我太菜了,居然没排序直接ran, 怪不得TLE Posted by:sunmoonstar_love at 2005-06-29 16:44:54


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