artifactory notes on

「Note」图论方向 - 图论进阶

# 1. 2-SAT ## 1.1. 介绍 对于一些节点,每个节点存在两个状态(非 $0$ 即 $1$),我们给出一些如下类型的限制条件: - 节点 $i$ 状态为 $1/0$。 - 若节点 $i$ 状态为 $1/0$,那么节点 $j$ 状态为 $1/0$。 - 节点 $i,j\ (i\not=j) ......
方向 Note

Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range

在使用浏览器内置API btoa() 编码base64时: 报错Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range 报错信息解释: ......
39 characters contains execute encoded

a build cache key that uniquely defines the task’s outputs based on its inputs

Build Cache https://docs.gradle.org/current/userguide/build_cache.html The Gradle build cache is a cache mechanism that aims to save time by reusing o ......
uniquely defines outputs inputs build

为Prometheus monitoring stack on K8s 部署ingress controller

把流落在外的21年那篇blog搬回来 https://github.com/wakengmeow/wakengmeow/tree/main 最近有个项目需要在k8s上部署prometheus,alertmanager和grafana。其中有个需求是用统一的入口访问三个服务的web接口从而尽可能少的暴 ......

ON JAVA 8读书笔记|前言

ON JAVA 8这本书是基于Java 8的特性进行编程教学的,同时也根据Java11、Java17这三大LTS【长期支持版本】版本新特性做了关键更新。 Java 8最大的改进是引入了函数式编程【lambda表达式、流(stream),函数式基本类型(functional primitive)】,这 ......
前言 笔记 JAVA ON

CF-1860C Game on Permutation题解

题意:在一条数轴上,Alice可以跳到在你所在点前面且值比当前所在点小的点。每回合可以向任意符合要求的点跳一次。当轮到Alice的回合同时不存在符合要求的点,Alice就赢了。Alice可以选择一个点作为起始点,然后作为后手(赛时这里把我坑了)。问有多少个点是必胜的点。 $n\leq 3\times ......
题解 Permutation 1860 Game CF

「Note」图论方向 - 图论基础

# 1. 差分约束 ## 1.1. 介绍 差分约束算法用于解决如下问题:给出若干形如 $x_a-x_b\le c$ (均为整数,可以为负数)的不等式,求一组解 $\{x_i\}$,若不存在解则判断无解。 考虑将原式变形,变为 $x_a\le x_b+c$。观察到这与单源最短路里的三角形不等式 $di ......
方向 基础 Note

[AGC003E] Sequential operations on Sequence 题解

神仙思维题,那我的评价是太妙了。 ### 思路 我们发现正的十分难以维护这个过程。 考虑可以倒着进行这个操作。 容易发现对于整块,我们找到在前面第一个小于它的 $a_i$。 然后就会有一个贡献的转移,$f_i=f_{now}\times \frac{a_{now}}{a_i}$。 至于散块,我们发现 ......
题解 Sequential operations Sequence 003E

GitHub: remote:Support for password authentication was removed on August 13,2021.

使用git push origin master向远程仓库推送时被告知: remote:Support for password authentication was removed on August 13,2021.Please use a personal access token inste ......

(全英语版)处理恶意软件的随机森林分类器算法(Random Forest Classifier On Malware)

Random Forest Classifier On Malware (copyright 2020 by YI SHA, if you want to re-post this,please send me an email:shayi1983end@gmail.com) (全英语版)处理恶意软 ......
算法 Classifier 恶意 森林 Malware

「Note」数据结构方向 - 可持久化数据结构

# 1. 可持久化线段树 ## 1.1. 介绍 可持久化线段树一般用于解决区间第 $k$ 小值的询问。 首先考虑简化过的问题,区间 $\left[1,r\right]$ 的第 $k$ 小值。 考虑用权值线段树(离散化或动态开点)来求 $k$ 小值,接下来只需要解决区间的问题。 可持久化线段树核心思想 ......
数据结构 结构 数据 方向 Note

「Note」您想来点数据结构吗?

### [$\color{black}{P4119\ [Ynoi2018]\ 未来日记}$](https://www.luogu.com.cn/problem/P4119) #### 思路:分块+值域分块 #### 复杂度:$O(n\sqrt n+m\sqrt n)$ #### 主题思路 数列分块需 ......
数据结构 结构 数据 Note

games101-homework-notes

Games101 作业笔记 Created: 2023-06-19T12:00+08:00 Published: 2023-08-17T16:23+08:00 Categories: ComputerGraphics [ToC] # pa0 使用宏节约 `angle / 180.0 * acos(- ......
homework-notes homework games notes 101

当 SQL Server 2012 R2 Always On 副本库处于未同步状态时,你可以尝试以下步骤重新同步副本库

1. 检查副本库的连接状态:确保副本库与主库之间的网络连接正常,并且副本库的 SQL Server 服务正在运行。 2. 检查副本库的同步状态:使用以下代码查询副本库的同步状态。 ```sql SELECT replica_server_name, synchronization_state_des ......
副本 步骤 状态 Always Server

SqlServer开启了Always On可用性组后如何清理数据库日志

1、首先,确保你已经备份了数据库,并且备份是完整的和成功的。备份是非常重要的,因为在清理日志文件之前,你需要确保数据库的完整备份已经完成。 2、使用以下命令手动截断和清理日志文件: BACKUP LOG [数据库名称] TO DISK = '备份路径' WITH NOFORMAT, NOINIT, ......
可用性 SqlServer 数据库 数据 Always

杭电23多校第九场Capoo on tree(二分+树链剖分+可持久化线段树)

## 2023HDU多校9__Capoo on tree(二分+树链剖分+可持久化线段树) ### [题目链接](http://acm.hdu.edu.cn/showproblem.php?pid=7371) ### Solution $Hint1$ 考虑如何进行对某一相同点权的所有点进行点权$+1 ......
线段 Capoo tree on

games101-lecture-notes

Games101 课程笔记 Created: 2023-06-07T20:54+08:00 Published: 2023-08-16T21:05+08:00 Categories: ComputerGraphics [ToC] # Lecture01: Overview of Computer G ......
lecture-notes lecture games notes 101

$("选择器").on详细用法

$("选择器").on(事件, 函数)是jQuery中绑定事件的方法,其详细用法如下: - "选择器":表示要绑定事件的元素,可以是元素的id、class、标签名、属性名等。 - 事件:表示要绑定的事件类型,比如click、mouseover、keydown等。 - 函数:表示要执行的事件处理函数, ......
quot on

the-c-programming-language-reading-notes

The C Programming Reading Notes Created: 2023-06-06T15:59+08:00 Published: 2023-08-16T12:14+08:00 Categories: C | ReadingNotes 我看的是第二版,解决了初学 C 语言和 OS ......

什么是 SAP CDS view 的 join on demand 技术

SAP CDS view 里借助 `path expression` 技术,我们可以实现 `join on demand` 的场景。 如下图所示: ![](https://img-blog.csdnimg.cn/img_convert/56f2cb3786349514d32d009d400a4a92 ......
demand 技术 view join SAP

nuttx-on-the-stm32f103c8t6

https://microcontrollerelectronics.com/nuttx-on-the-stm32f103c8t6/ ![](https://img2023.cnblogs.com/blog/79238/202308/79238-20230816093358501-592691937 ......
nuttx-on-the-stm nuttx 103 c8t the

[Vue warn]: Runtime directive used on component with non-element root node. The directives will not function as intended.

![](https://img2023.cnblogs.com/blog/1987782/202308/1987782-20230815231125882-1972945533.png) ### 原因 意思是自定义指令不能放到组件上,而是要放到自有的元素上,也就是这里用到的`v-dialogDrag ......

[ARC096E] Everything on It 题解

## 题意 对于集合 ${1,2,\cdots,n}$,求它的子集族中,有多少个满足: 1. 任意两个子集互不相同; 2. $1,2,\cdots,n$ 都在其中至少出现了 $2$ 次。 $n \le 3000$,答案对 $M$ 取模。 ## 题解 第一个限制形同虚设,下面着重考虑第二个限制。考虑到 ......
题解 Everything 096E ARC 096

MIT 18.06 Notes

## MIT 18.06 线性代数 学习笔记 ### Lecture 1 #### 线性方程组的几何化 e.g. $$ 2x - y = 0 \\ -x + 2y = 3 $$ 行视角(`Row Picture`):解集是直线们的交点 或 平面们的交线等。 [![pPKNiR0.png](https ......
18.06 Notes MIT 18 06

『题解』ABC261Ex Game on Graph

[题目链接](https://atcoder.jp/contests/abc261/tasks/abc261_h) 震惊!这个题竟然被神犇 szs 放进了博弈论里!我真的没看出来除了题面还有哪里像博弈论(也许是因为我菜)。 转移方式很显然,按照题面说的做就行了。那么正解也就呼之欲出了。 但是我知道大 ......
题解 Graph Game ABC 261

[Note] Jetson设备使用SDK Manager刷机遇到apt-get网络不畅的问题

前提: 在SDK manager烧录完成os后,安装cuda等组件的过程中容易出现因为apt-get源导致的失败。 解决方案: 1. 完成系统烧录,获得jetson 设备的IP地址`192.168.55.1`,此时系统会停在弹出框上,让用户确认是否通过ssh的方式继续安装后续组件,此时先不继续。 2 ......
机遇 Manager apt-get Jetson 设备

「Note」字符串方向 - 自动机相关f

# 1. AC 自动机 ACAM ## 1.1. 介绍 AC 自动机用于解决多模式串匹配问题,例如求多个模式串在文本串中的出现次数。显著地,它的应用实际上非常广泛。 借助 KMP 的思想,我们对 Trie 树上的每个节点构造其**失配指针** $fail_i$,指向对于当前字符串的最长后缀(其他(前 ......
自动机 字符串 字符 方向 Note

[Notes] Ubuntu下设置apt-get的代理

根据不同的ubuntu版本,可以修改/etc/apt/apt.conf文件或者/etc/apt/apt.conf.d/proxy.conf文件的内容。 - /etc/apt/apt.conf.d/proxy.conf 添加如下内容可以实现apt-get的代理设置: ```bash Acquire:: ......
apt-get Ubuntu Notes apt get

ADM4016I The index indexName on the source table source-table does not match any partitioned indexes on the target table target-table . ALTER TABLE ATTACH processing continues.

ADM4016I The index indexName on the source table source-table does not match any partitioned indexes on the target table target-table . ALTER TABLE AT ......

Record daily thoughts on August 14 2023

宿舍的饮水机没水了,送水的大概明天或者后天送过来,现在是接点自来水烧凉白开喝,今天可能是口渴,想跑出校门买西瓜吃,后来克制住了消费的欲望,因为我发现我一年的伙食费居然花1万2千多. 后来算算也不离谱,一年365天,一天花费大概35块钱,而且一天有三餐,也并不是大手大脚乱花钱,不过想想,网上有很多人一 ......
thoughts Record August daily 2023