Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
首先观察到结果和倒水次序无关,所以先用bfs乱搞把一个个‘水坑‘求出来,然后算出每个水坑的容量,按水坑的高度从高到低处理…… 时间复杂度O(NM)rt Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator