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

首先观察到结果和倒水次序无关,所以先用bfs乱搞把一个个‘水坑‘求出来,然后算出每个水坑的容量,按水坑的高度从高到低处理…… 时间复杂度O(NM)

Posted by xuhaoran510 at 2011-11-27 14:58:30 on Problem 3242
rt

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