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:wa了,能否帮忙看下In Reply To:Re:wa了,能否帮忙看下 Posted by:singlelove at 2007-04-05 10:41:49 int sum=0; for(j=0;j<b;j++) sum+=eab[j]*p[j][i]; eab[i]=sum; 这怎么行呢? 在计算过程中eab[]已发生改变 增加一个数组吧 for ( int j = 0; j < b; j++ ) sum += eab[j] * p[j][i]; ans_new[i] = sum; Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator