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:一诡异现象忘大牛们解释!! Posted by:lsw200838201 at 2009-08-05 20:04:00 if(a[ji*2]==0&&(ji*2)<100001) { a[ji*2]=a[ji]+1; q.push(ji*2); } 这里a[ji*2]会可能越界。。。你可以把数组a开大点就可以用第二组代码。。。。。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator