摘要: 407. 接雨水 II 题解: 维护一个小根堆,从外向内进行遍历。 class Solution { public: struct cell{ int x, y, h; bool operator < (const cell & rs)const{ return h > rs.h; } }; boo 阅读全文
posted @ 2020-07-20 21:38 樱花庄的龙之介大人 阅读(149) 评论(0) 推荐(0) 编辑