Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
呵呵,这么搞,我是排序后随机乱找两个交换,直到okIn Reply To:我排一次序,然后做个循环对k+1到3k的random_shuffle,直到满足条件就行了 Posted by:sunmoonstar_love at 2005-06-29 22:28:14 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator