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 |
为什么dp[i]=(long long)dp[j]+sum[i]-sum[j]-seq[j+1]*(i-j); WA 而 dp[i]=dp[j]+sum[i]-sum[j]-(long long)seq[j+1]*(i-j); 就AC呢??Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator