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

此题a[]定义为int会挂,而定义为long longAC的原因

Posted by FuckYouFuckingMe at 2012-02-27 17:16:41 on Problem 3709
In Reply To:感觉自己斜率优化合格的人进来看看。。求交流。。 Posted by:Moon_1st at 2011-08-01 11:27:46
f[k]-s[k]+(k)*a[(k)+1]

注意这里表达式(k)*a[(k)+1]的类型关系。

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