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 |
代码见内In Reply To:大家都来说一下啊 Posted by:wahahaha at 2005-08-30 10:54:56 sum=0; b=0; for(i=1;i<n;i++) { if(b>0) b+=num[i]; else b=num[i]; if(b>sum) sum=b; A[i]=sum; } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator