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 toto12 at 2015-05-05 00:58:36 on Problem 2528
In Reply To:相信很多人都过不了这组数据吧!!! Posted by:lingyuntan at 2010-10-19 17:01:22
测试数据太简单,只要数据离散化就能过,实际要考虑离散化后数据的分配
比如
1 3 4 5 9
一般程序对应于
1 2 3 4 5(这样会导致不相邻的线段变为相邻)
实际应该对应于
1 3 4 5 7

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