上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 54 下一页

2021年4月26日

摘要: problem 1370. Increasing Decreasing String 理解题意; solution#1: code 参考 1. leetcode_easy_string_1370. Increasing Decreasing String; 完 阅读全文
posted @ 2021-04-26 20:52 鹅要长大 阅读(48) 评论(0) 推荐(0)
摘要: problem 1422. Maximum Score After Splitting a String solution#1: code class Solution { public: int maxScore(string s) { int left = 0, right = 0; for(a 阅读全文
posted @ 2021-04-26 20:48 鹅要长大 阅读(28) 评论(0) 推荐(0)
摘要: 参考 1. 004 - 指针和引用的区别是什么? 完 阅读全文
posted @ 2021-04-26 20:46 鹅要长大 阅读(61) 评论(0) 推荐(0)
摘要: 参考 1. 深入理解 CPU 的分支预测(Branch Prediction)模型; 2. 001 - 为什么处理一段已排序的数组比处理一段未排序的数组快? 完 阅读全文
posted @ 2021-04-26 19:56 鹅要长大 阅读(159) 评论(0) 推荐(0)
摘要: 参考 1. C++ 头文件是使用 .h 还是 .hpp; 2. stackoverflow-top-cpp; 3. 【我的C语言学习进阶之旅】什么是.hpp文件? 完 阅读全文
posted @ 2021-04-26 19:54 鹅要长大 阅读(165) 评论(0) 推荐(0)
摘要: 参考 1. 013 - #include <filename> 和 #include "filename" 的区别是什么; 2. stackoverflow-top-cpp; 完 阅读全文
posted @ 2021-04-26 19:53 鹅要长大 阅读(128) 评论(0) 推荐(0)
摘要: 参考 1. 010 - static_cast, dynamic_cast, const_cast 和 reinterpret_cast 怎么用; 2. stackoverflow-top-cpp; 完 阅读全文
posted @ 2021-04-26 19:48 鹅要长大 阅读(54) 评论(0) 推荐(0)
摘要: 问题 之前新安装系统只有vi没有vim,想要按使用方向键按上下左右时,总是会变成ABCD,然后按键HJKL又会变成上下左右,而且左下端没有插入等模式的标识,简直让人极度抓狂啊! 原因 其实这个问题是由ubuntu系统自带的 vi版本太老导致的,所以解决方法就是安装新版的vi编辑器即可: 首先卸载旧版 阅读全文
posted @ 2021-04-26 19:38 鹅要长大 阅读(1107) 评论(0) 推荐(0)
摘要: root ALL=(ALL:ALL) ALL The first field indicates the username that the rule will apply to(root). First “ALL” indicates that this rule applies to all h 阅读全文
posted @ 2021-04-26 19:16 鹅要长大 阅读(280) 评论(0) 推荐(0)
摘要: 要确定轴的正旋转方向,如下图所示,用右手的大拇指指向轴的正方向,弯曲手指。那么手指所指示的方向即是轴的正旋转方向。 参考 1. 3D数学基础(一)——左手坐标系和右手坐标系; 完 阅读全文
posted @ 2021-04-26 19:10 鹅要长大 阅读(569) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2021-04-26 19:08 鹅要长大 阅读(0) 评论(0) 推荐(0)
摘要: 进入Recovery模式, 进入ubuntu recovery mode的Root选项之后, mount -o remount,rw / #对根目录重新挂载为读/写 chmod u+w /etc/sudoers vim /etc/sudoers chmod u-w /etc/sudoers moun 阅读全文
posted @ 2021-04-26 19:03 鹅要长大 阅读(504) 评论(0) 推荐(0)
摘要: 参考 1. 完 阅读全文
posted @ 2021-04-26 18:59 鹅要长大 阅读(273) 评论(0) 推荐(0)
摘要: 参考 1. extern “C”的作用详解; 2. 【C++入门】C和C++混合编程超详细讲解_正在起飞的蜗牛的博客-CSDN博客; 3. C++和C的混合编译_iheal的博客-CSDN博客; 完 阅读全文
posted @ 2021-04-26 18:56 鹅要长大 阅读(286) 评论(0) 推荐(0)
摘要: QT用于将CANFD写入ASC/BLF文件的过程中,报如下错误: c:\Users\qt\work\qt\qtbase\src\winmain\qtmain_win.cpp:111: error: undefined reference to `qMain(int, char**)' 根据参考链接, 阅读全文
posted @ 2021-04-26 18:52 鹅要长大 阅读(2826) 评论(0) 推荐(1)

2021年4月13日

摘要: 前言 步骤 step1:生成Release版本的可执行文件; step2:将生成的可执行文件复制到一个空白文件夹; step3:以QT5.14.2+MinGW7.3.0-64bit开发环境为例,按照以下路径打开Qt5.14.2(MinGW7.3.0 64bit)的命令行界面,运行windeployq 阅读全文
posted @ 2021-04-13 18:15 鹅要长大 阅读(546) 评论(0) 推荐(0)

2021年3月12日

摘要: 前言 步骤 后记 如何切换到Recovery模式? 参考 1. [Linux] admin is not in the sudoers file 问题解决办法; 2. Ubuntu sudo 出现 is not in the sudoers file解决方案; 3. Ubuntu报“xxx is n 阅读全文
posted @ 2021-03-12 15:34 鹅要长大 阅读(119) 评论(0) 推荐(0)

2021年2月25日

摘要: 参考 1. 006 - 关键字 explicit 是什么意思? 2. stackoverflow-top-cpp; 完 阅读全文
posted @ 2021-02-25 16:27 鹅要长大 阅读(215) 评论(0) 推荐(0)
摘要: problem 1507. Reformat Date solution#1: 使用map;使用函数; code: class Solution { public: unordered_map<string, string> months = {{"Jan", "01"}, {"Feb", "02" 阅读全文
posted @ 2021-02-25 13:38 鹅要长大 阅读(103) 评论(0) 推荐(0)

2021年2月4日

摘要: problem 1436. Destination City solution#1: 使用map; code solution#2: 使用set; code 参考 1. leetcode_easy_string_1436. Destination City; 完 阅读全文
posted @ 2021-02-04 18:32 鹅要长大 阅读(40) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 54 下一页

导航