摘要: 好吧,我魔怔了, 线的下半部分是用来给我看的 1 class Solution { 2 public: 3 vector<int> plusOne(vector<int>& digits) 4 { 5 //第三种思路 6 vector<int> result; 7 int val = digits. 阅读全文
posted @ 2020-07-09 21:40 ZyLin-ux 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 前言:这是一条没有截图的随笔。。。 1.建立rgbdslam_ws空间 $ mkdir -p ~/rgbdslam_ws/src $ cd ~/rgbdslam_ws/src $ cd rgbdslam_ws $ catkin_make 将工作空间下的 devle/setup.bash 写入.bas 阅读全文
posted @ 2020-07-09 19:43 ZyLin-ux 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 思路:需要两个变量存储单词,vac为先锋,用于不断索取新单词;pre_vac为后备军,用于存储上一个单词,避免vac先锋索不到单词 具体看代码,已注释 1 #include <iostream> 2 3 using namespace std; 4 5 class Solution { 6 publ 阅读全文
posted @ 2020-07-09 09:23 ZyLin-ux 阅读(159) 评论(0) 推荐(0) 编辑