03 2019 档案

leetcode 300
摘要:"原题链接" 讨论区的人才有更好的解决方案,利用 STL 的 lower_bound 函数,效率提升不少。 阅读全文

posted @ 2019-03-30 13:16 庭中核桃树 阅读(93) 评论(0) 推荐(0)

LeetCode 62
摘要:```c++ / @lc app=leetcode id=62 lang=cpp [62] Unique Paths https://leetcode.com/problems/unique paths/description/ algorithms Medium (46.62%) Total Ac 阅读全文

posted @ 2019-03-27 14:09 庭中核桃树 阅读(89) 评论(0) 推荐(0)

LeetCode 122
摘要:只要上涨就加上。 阅读全文

posted @ 2019-03-27 11:11 庭中核桃树 阅读(123) 评论(0) 推荐(0)

LeetCode 121
摘要:```c++ class Solution { public: int maxProfit(vector& prices) { if(prices == nullptr || prices.size() max_profit) max_profit = prices[j] prices[i]; } 阅读全文

posted @ 2019-03-27 11:00 庭中核桃树 阅读(116) 评论(0) 推荐(0)

三次贝塞尔曲线生成 C++ 代码
摘要:cal_angle 求分辨率为 _resolution 的时候每一点的切线方向。 阅读全文

posted @ 2019-03-26 20:42 庭中核桃树 阅读(2736) 评论(0) 推荐(0)

QT QFileDialog::getOpenFileName 对文件名进行过滤
摘要:注意过滤器之间要用 ;; 进行分割。 阅读全文

posted @ 2019-03-26 20:34 庭中核桃树 阅读(11329) 评论(0) 推荐(0)

LeetCode 17 Letter Combinations of a Phone Number
摘要:```C++ / @lc app=leetcode id=17 lang=cpp [17] Letter Combinations of a Phone Number https://leetcode.com/problems/letter combinations of a phone numbe 阅读全文

posted @ 2019-03-26 10:59 庭中核桃树 阅读(118) 评论(0) 推荐(0)

安装terminator与配置
摘要:```shell sudo apt-get install terminator ``` ```shell sudo gedit ~/.config/terminator/config ``` ```shell [global_config] [keybindings] [profiles] [[default]] use_system_font = False # 是否启用系统... 阅读全文

posted @ 2019-03-22 16:07 庭中核桃树 阅读(924) 评论(0) 推荐(0)

导出 .bag 文件 pointcloud 话题 到 pcd文件
摘要:也可以达到相同的效果。 阅读全文

posted @ 2019-03-22 15:41 庭中核桃树 阅读(715) 评论(0) 推荐(0)

导航