Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

为什么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呢??

Posted by cylixstar at 2009-07-25 23:26:05 on Problem 3709 and last updated at 2009-07-25 23:27:12


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator