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 123yzy123 at 2009-12-08 19:56:40 on Problem 2287
In Reply To:提供一种很很很很简单的贪心策略 Posted by:myjfm at 2009-07-24 20:21:17
我觉得你说的并不全面
比如下面这两组数据
4
1 2 3 4
1 2 3 4
2
3 5
4 5
答案应该是
400
0
而用你的思路答案应该会是
0
-200

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