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 smallport at 2009-04-17 19:12:12 on Problem 1083
题意啊!!!!!!!走廊占用的范围要注意,如果是从3到5,实际占用的范围是3到6.如果是2到4,实际的范围是1到4.
其实用线段树也是可以的,反正查出被占用最多的房间前面的走廊究竟被占用几次,乘以10就可以了。

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