摘要: class Solution {private: const static char* pattern[]; const static char* roman[]; unordered_map a2i;public: int romanToInt(string s) { ... 阅读全文
posted @ 2014-07-20 20:32 卖程序的小歪 阅读(118) 评论(0) 推荐(0) 编辑
摘要: class Solution {public: int trap(int A[], int n) { if (n peaks; vector peaks_tmp; int last_idx = 0; bool increasing = ... 阅读全文
posted @ 2014-07-20 17:27 卖程序的小歪 阅读(227) 评论(0) 推荐(0) 编辑