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 |
Re:算了,给你提供一种思路吧..In Reply To:Re:你可以想想更好的算法,这样直接++效率太低了,耗了二三百MS...我懒得想了,靠你了... Posted by:mayp at 2007-03-09 22:15:11 从低位开始找到第一个1的位置,然后在其更高位找到第一个0,交换之,即可 若找不到,呵呵... Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator