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:只考虑相邻的??显然数据太水了,随便加上一组数据就能rj掉一堆人

Posted by 20114958 at 2012-08-14 20:11:02 on Problem 2393
In Reply To:只考虑相邻的??显然数据太水了,随便加上一组数据就能rj掉一堆人 Posted by:Snow_storm at 2010-10-27 13:51:28
> 比如
> 3 5
> 1 100
> 16 100
> 20 100
> 
> 显然答案是1800  而不是2700
> 
> 当然程序写出来可以是O(n),每次更新上一周的价格就OK。
大神,这两种结果都能AC的,我试过,无语……

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