2019年3月27日

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)

2019年3月26日

三次贝塞尔曲线生成 C++ 代码

摘要: cal_angle 求分辨率为 _resolution 的时候每一点的切线方向。 阅读全文

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

QT QFileDialog::getOpenFileName 对文件名进行过滤

摘要: 注意过滤器之间要用 ;; 进行分割。 阅读全文

posted @ 2019-03-26 20:34 庭中核桃树 阅读(11320) 评论(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 庭中核桃树 阅读(117) 评论(0) 推荐(0)

2019年3月22日

安装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 庭中核桃树 阅读(921) 评论(0) 推荐(0)

导出 .bag 文件 pointcloud 话题 到 pcd文件

摘要: 也可以达到相同的效果。 阅读全文

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

导航