第一篇博客哒 题面 https://www.luogu.com.cn/problem/P4243 首先看到区间加等差数列我们可以首先想到使用差分数组 就是记一个bi=ai+1-ai 然后每次修改al 到ar就只用将bl-1,br单点修改,bl至br-1区间修改就可以了 区间修改?我们首先想到了线段树 ...
分类:
Web程序 时间:
2020-02-01 00:42:37
阅读次数:
85
gox 是使用简单,灵活的跨平台golang 编译工具,我们可以快速的生成多平台的可运行文件,和使用go build 类似 一个参考构建命令 gox -ldflags "-X main.version=${VERSION}" -output="build/{{.Dir}}_{{.OS}}_{{.Ar ...
分类:
其他好文 时间:
2020-01-31 20:36:11
阅读次数:
79
"链接" 签到,简单贪心。可以看出来只会使用最多一个7剩下的全是1 include using namespace std; typedef long long ll; char a[100010]; int num[100010]; int main(int argc, char const ar ...
分类:
其他好文 时间:
2020-01-31 20:33:25
阅读次数:
135
Mac机子下Cmake报错:mac No CMAKE_C_COMPILER could be found. 解决方案: 终端输入 sudo xcode-select --switch /Applications/Xcode.app/ 清空build目录文件(第二行) 关掉Cmake,打开Cmake ...
分类:
其他好文 时间:
2020-01-29 18:02:28
阅读次数:
69
一、集合的定义 集合:是在计算机中用于存储一种或多种引用类型数据,并且长度可变的容器。 外延:List集合、Queue集合、Set集合 二、各类集合的特点 List集合(继承Collection接口):有序存储可重复元素 外延:ArrayList集合、Vector集合、LinkedList集合 Ar ...
分类:
编程语言 时间:
2020-01-29 16:03:43
阅读次数:
80
AprilTag是一个视觉基准系统,可用于各种任务,包括AR,机器人和相机校准。这个tag可以直接用打印机打印出来,而AprilTag检测程序可以计算相对于相机的精确3D位置,方向和id。对于OpenMV来说,这个特别有用! 它大概长这个样子: AprilTag的种类 AprilTag的种类叫家族( ...
分类:
其他好文 时间:
2020-01-28 17:23:16
阅读次数:
86
XCode + IOS + Flutter真机调试 报错: Could not build the precompiled application for the device. It appears that your application still contains the default ...
分类:
移动开发 时间:
2020-01-28 09:22:02
阅读次数:
1163
实验要求模拟终端通过Telnet登陆路由器AR1路由器IP:192.168.1.1,终端IP:192.168.1.10user:admin,password:hello,有管理权限user:gust,password:nihao,有监控权限路由器(192.168.1.1),配置如下:<Huawei>system-view[Huawei]sysnameAR1//修改设备名称为AR1[AR
分类:
Web程序 时间:
2020-01-23 09:50:56
阅读次数:
172
```cpp#include #include using namespace std;int main(int argc, char* argv[]){ deque deq; for (int i = 0; i#include using namespace std;int main(int ar... ...
分类:
其他好文 时间:
2020-01-22 23:59:14
阅读次数:
138
#include <stdio.h> #include <stdlib.h> #include <math.h> void printArray(int* array, int length) { for (int i = 0; i < length; i++) { printf("%d ", ar ...
分类:
其他好文 时间:
2020-01-21 12:08:18
阅读次数:
97