third 032f agc one
How to execute a shell script in the .profiles file All In One
How to execute a shell script in the .profiles file All In One
......
「解题报告」AGC007E Shik and Travel
不难的题,但是突然就不会分析复杂度了!脑子出了些什么问题。 首先考虑题目中要求一条边恰好经过两次,那么也就是说每进入一个子树,那么就必须把子树内的所有点探索完后再去另一个子树,那么这个问题就显然是可以递归处理的了。 具体来说,对于每一个子树 $u$,都存在若条路径 $u \to v$,然后当子树合并 ......
How to use Linux shell command filter the IP address All In One
How to use Linux shell command filter the IP address All In One
如何使用 Linux shell 命令过滤 IP 地址
......
cnblogs raw markdown article auto crawler All In One
cnblogs raw markdown article auto crawler All In One
url 获取 raw markdown file, 类似 GitHub / gist
next 自动化翻页 selenium ......
为什么驾校报名后体检会指定医院 All In One
为什么驾校报名后体检会指定医院 All In One 不合理 不合法 社会乱象 ... 驾照考试流程 (八部曲) 第一步:选择驾校 第二步:报名 第三步:体检 ✅ 第四步:科目一理论知识考试 第五步:科目二驾驶基本操作考试 第六步:科目三实际驾驶道路考试 (在真实街道路上进行测试, 最难的) 第七步 ......
AT_agc003_e 题解
神仙题,我会把我自己思考的过程一步步写出来。 初看这题时感觉没什么思路,所以随便算了点东西。很容易发现如果对于一个 $i$,$q_i\geq q_{i+1}$,那么 $q_i$ 就没有意义,每次把元素放进来时先把头部比它大的都弹走,再把它放进去,设处理完的 size 为 cnt。 然后就是这道题的精 ......
Atcoder题解:Agc002_f
我们可以把这个理解成一种类似卡塔兰数的形式,我们发现,被安排的 $0$ 球总数 $i$ 和已经出现的颜色种数 $j$ 在任意时刻都必须满足 $i\ge j$。 然后就可以 $dp$ 了,我们每次钦定下一个转移的球是某种颜色。如果下一个转移的球不是 $0$,那么我们就一次性把后面所有这种颜色都安排好, ......
Atcoder题解:Agc004_e
$$吓死我了,还以为写了半天的被自己删掉了$$ $$但是 \text{Ctrl+S} 会保存草稿啊$$ $$以后一定要保留这个好习惯$$ 第一步转化题意,我们把“所有机器人移动”转化成“出口带着边框移动”,而在出口运动过程中超出边框的机器人,就“死”了。 然后我们发现,出口运动过程中,假设出口目前走 ......
How to use the Raspberry Pi to study the Linux kernel source code All In One
How to use the Raspberry Pi to study the Linux kernel source code All In One
如何利用树莓派来研究 Linux 内核源码 All In One
在 Linux 系统中,一切皆文件!
......
Atcoder题解:Agc013_e
我们考虑转化题意,一个合法的将 $1\sim N$ 划分成长度依次为 $a_1,a_2,\cdots a_k$ 的小区间,对答案的贡献为 $a_1^2a_2^2\cdots a_k^2$。 化贡献为方案数,我们在每个长度为 $a_i$ 的小区间内放置两个独立的标记,每个合法的划分方案对放置标记方案种 ......
无显示器如何通过配置文件快速修复树莓派无法通过 SSH 访问的问题 All In One
无显示器如何通过配置文件快速修复树莓派无法通过 SSH 访问的问题 All In One
在没有显示器的情况下如何通过配置系统文件快速的修复树莓派无法通过 SSH 访问的问题 All In One
无显示器 SSH 远程访问 树莓派
......
vscode number of cursors limited to 10000 bug All In One
vscode number of cursors limited to 10000 bug All In One
vscode 全局替换光标限制最多 10000 个 ❌
......
Raspberry PI 设置开机自启动脚本 All In One
Raspberry PI 设置开机自启动脚本 All In One docs raspi-config $ sudo raspi-config https://www.raspberrypi.com/documentation/computers/configuration.html#raspi-c ......
how to use cURL with a variable in the URL string All In One
how to use cURL with a variable in the URL string All In One
如何在 cURL 的 URL 字符串中使用变量
系统变量
环境变量
shell 变量 ......
WebGPU All In One
WebGPU All In One
WebGPU 是一种 API,可让你执行 2 项基本操作。
绘制三角形/点/线到纹理
在 GPU 上运行计算
......
How to use SSH to access the Raspberry Pi without know the Wi-Fi IP address All In One
How to use SSH to access the Raspberry Pi without know the Wi-Fi IP address All In One
如何在不知道 Wi-Fi IP 地址的情况下使用 SSH 访问树莓派
没有显示器,不知道树莓派 IP 地址的情况下,如何通过 ... ......
Raspberry Pi Code Editor All In One
Raspberry Pi Code Editor All In One
GPIO module bug
......
Thonny IDE All In One
Thonny IDE All In One
Thonny 开启代码自动完成
Python
vscode IntelliSense
代码提示
代码自动补全
......
「解题报告」AGC001F Wide Swap
首先题目给的限制条件很奇怪,下标差 $K$ 而值域差 $1$。我们变成逆排列,然后就转换成了下标差 $1$,值域差 $K$ 了,每次操作就相当于交换相邻的两个差 $\ge K$ 的数。 假设新的逆排列为 $Q_i$。我们发现,假如存在两个数差 $<K$,那么它们的相对位置关系一定不变。那么我们现在有 ......
淘宝上如何查看很久以前的历史订单的购买记录 All In One
淘宝上如何查看很久以前的历史订单的购买记录 All In One
历史订单的购买记录,历史订单最久保留时间
搜索
全部功能>我的购物车>已买到的宝贝 > 所有订单 >订单搜索
......
macOS Finder move & cut & copy & paste file All In One
macOS Finder move & cut & copy & paste file All In One
快捷键
Mac 键盘快捷键
剪切、拷贝、粘贴和其他常用快捷键
Command-X:剪切所选项并拷贝到剪贴板。
Command-C:将所选项拷贝到剪贴板。这同样适用于“访达”中的文件。
Com... ......
How to use command line find all users on Linux All In One
How to use command line find all users on Linux All In One
Linux 系统中一切皆文件, 就像 js 中一切皆对象一样
/etc/passwd
......
AGC002D Stamp Rally 多种做法 kruskal重构树/可持久化并查集/整体二分
D - Stamp Rally (atcoder.jp) 这题做法很多,我写的是可持久化并查集做法,但是裸的可持久化并查集是 $O(nlog^3n)$,能过但是很慢!看洛谷的题解有一位大佬写了一个很妙的并查集的写法,按秩合并,每一步合并时用vector记录一下这个被合并到的节点的size和当前的时间 ......
how to create one command line configuration tool with shell language on Linux All In One
how to create one command line configuration tool with shell language on Linux All In One
如何在 Linux 上用 shell 语言创建一个命令行配置工具
raspi-config
......
SAP Business One系统在半导体行业中的应用
中国由制造业大国向制造业强国转变。中国每年在半导体行业投下大量资金,而且经费不断上升,高科技半导体产业链从设计公司,晶圆制造及后段封装测具有显著不同的业务模式,需要针对不同细分行业寻求对应业务需求和业务场景的解决方案及卓越实践,实现端到端整体方案导入。 半导体设计行业隶属于电子信息产业,属于硬件产业 ......
Linux input and ouput command < symbol & > symbol All In One
Linux input and ouput command < symbol & > symbol All In One
left input / right output
< 向左侧输入
> 向右侧输出
pbcopy
pbpaste
剪切板
......
在终端命令行中把输出复制到剪贴板的命令 All In One
在终端命令行中把输出复制到剪贴板的命令 All In One use command copy from the Terminal Linux 系统 Debian / Ubuntu / Raspberry Pi OS # Raspberry Pi $ grep shutdown | ??? http ......
Pytorch one-hot编码
1. 引言 在我们做分割任务时,通常会给一个mask,但训练时要进行onehot编码。 2. code import torch if __name__ == '__main__': label = torch.zeros(size=(1, 4, 4), dtype=torch.int) label ......