摘要: 1 class FreqStack 2 { 3 public: 4 unordered_map hash; 5 vector stk; 6 int max_times; 7 int times_table[10001]; 8 FreqStack() 9 { 10 ... 阅读全文
posted @ 2018-08-26 14:35 Asurudo 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution 2 { 3 public: 4 int surfaceArea(vector> &grid) 5 { 6 int result = 0; 7 for(auto v:grid) 8 for(auto d:v) 9 { 10 ... 阅读全文
posted @ 2018-08-26 11:00 Asurudo 阅读(570) 评论(0) 推荐(0) 编辑