上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 25 下一页
摘要: # 一个简单跳转过程的分析 ## 1.源代码如下 ```c #include int sub(int d, int e) { return d - e; } int sum(int a, int b) { int c = sub(100, 9); return a + b + c; } int ma 阅读全文
posted @ 2023-06-30 17:50 INnoVation-V2 阅读(75) 评论(0) 推荐(0)
摘要: 数的范围 给定一个升序数组和一个值, 找出这个值在数组中出现的起始和终止位置,如果不存在,返回-1 -1 分析 假定数组长度是n, 整数是target 首先找出起始位置,即找出满足条件的左边界,以以下数组为例 1 2 3 3 3 3 4 target = 3 左边界右边的数据显然满足>= targe 阅读全文
posted @ 2023-06-28 11:47 INnoVation-V2 阅读(94) 评论(0) 推荐(0)
摘要: 归并排序-逆序对的数量 原理 略 代码 #include<iostream> using namespace std; const int N = 1e5 + 10; typedef unsigned long long ULL; int s[N], tmp[N]; ULL mergeSort(in 阅读全文
posted @ 2023-06-28 11:25 INnoVation-V2 阅读(13) 评论(0) 推荐(0)
摘要: 快速排序总结 原理 二分 + 分治 目标: 选取基准值pivot 根据基准值将数组一分为二,左边<= pivot, 右边 >= pivot 根据pivot位置,将数组一份为二,递归排序处理 代码 #include<iostream> using namespace std; const int N 阅读全文
posted @ 2023-06-20 23:21 INnoVation-V2 阅读(27) 评论(0) 推荐(0)
摘要: # MACOS 制作Ubuntu U盘安装盘 1. 用hdiutil将ISO转dmg ```shell # 进入镜像所在路径 cd Desktop # 转换镜像,ISO --> dmg hdiutil convert -format UDRW -o ubuntu-20.04-desktop-amd6 阅读全文
posted @ 2023-06-05 15:33 INnoVation-V2 阅读(524) 评论(0) 推荐(0)
摘要: ## 一、处理下载的镜像 1. 下载安装Boot camp ISO Converter(下面简称Converter) https://twocanoes-software-updates.s3.amazonaws.com/Boot%20Camp%20ISO%20Converter1_6.dmg 2. 阅读全文
posted @ 2023-06-05 15:00 INnoVation-V2 阅读(3182) 评论(1) 推荐(0)
摘要: Zookeeper安装 0.环境 Intel i5-12400 16GB Memory Ubuntu 20.04.5 LTS Linux 5.15.0-52-generic 1.下载 官网速度太慢,可以在清华镜像下载 https://mirrors.tuna.tsinghua.edu.cn/apac 阅读全文
posted @ 2023-02-09 13:17 INnoVation-V2 阅读(325) 评论(0) 推荐(0)
摘要: 1.安装inxi sudo apt-get install inxi 2. 输出报告 inxi -Fx 注意F大写 阅读全文
posted @ 2023-02-09 13:08 INnoVation-V2 阅读(113) 评论(0) 推荐(0)
摘要: https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#appendix.application-properties 阅读全文
posted @ 2023-02-07 00:06 INnoVation-V2 阅读(25) 评论(0) 推荐(0)
摘要: 有关Avro Logical Types的序列化,官网给的文档十分粗糙,这里给出详细的序列和反序列化方法 1. 本地 1.1 Logical Type在avro文件中的写法 { "type": "record", "name": "User", "namespace": "org.example", 阅读全文
posted @ 2023-02-05 23:06 INnoVation-V2 阅读(503) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 25 下一页