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

很郁闷..这道题都不会...

Posted by demon at 2006-09-26 17:07:04 on Problem 2181
想了很久,想出一个算法:整个数组,可分成很多段,每段都是递增或者递减或者不变,把所以转折点的数加或减,就可以算出最大值...不知道这个算法对不对?还是我的程序有漏洞..

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