曾格的github
摘要: vscode+picgo设置github图床 基本配置::https://blog.csdn.net/qq_44314954/article/details/122951033 github无法访问问题 进入https://www.ipaddress.com查询以下三个域名的ip地址: 140.82 阅读全文
posted @ 2022-07-10 13:03 曾格 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 环境配置 Ubuntu18.04配置ip与dns 为了将Linux虚拟机做为服务器,需要给这台虚拟机一个真实的ip。 桥接模式下,Ubuntu的ip和windos的ip位于同一个网段就行。 具体的设置方法百度下就行。 注意版本号 xshell远程连接 linux上先安装ssh服务 windos安装x 阅读全文
posted @ 2022-02-27 21:28 曾格 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 一,一个记录当前子数组和,一个记录最大子数组和 1 class Solution { 2 public: 3 int FindGreatestSumOfSubArray(vector<int> array) { 6 int cur = array[0]; 7 int maxv=array[0]; 8 阅读全文
posted @ 2022-01-03 19:52 曾格 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 时间复杂度O(n),空间复杂度O(1) 思路:把数字v放到索引为v的位置上去。但如果位置v上的数字本身就是v时,说明数字v重复了。 1 class Solution { 2 public: 3 /** 4 * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 5 * 6 * 阅读全文
posted @ 2022-01-03 18:30 曾格 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<vector> 3 using namespace std; 4 5 class A { 6 public: 7 int a = 1; 8 public: 9 int getRes() { 10 cout << this<<endl; 阅读全文
posted @ 2021-11-10 22:23 曾格 阅读(877) 评论(0) 推荐(0) 编辑
Live2D