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 |
我排一次序,然后做个循环对k+1到3k的random_shuffle,直到满足条件就行了In Reply To:谢谢styc,我太菜了,居然没排序直接ran, 怪不得TLE Posted by:sunmoonstar_love at 2005-06-29 16:44:54 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator