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

Re:一种求和的方法

Posted by dacc at 2016-01-07 09:30:56 on Problem 2029
In Reply To:一种求和的方法 Posted by:slp at 2010-10-09 22:51:14
> 不如给定一个可选范围是r行c列
> 那么我们可以每次枚举r行的和sub[]
> 然后对sub求最大的c个连续子段和即可。可能数据太弱了 这样16ms水果
> 0ms估计是树状做的吧,再次学习...
我也是这样写的啊,可是不知哪里错了,怎么wa了

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