learning summary second the

训练合集-Mind the Gap

# 训练合集-Mind the Gap Member :EdGrass afeng111 xishuiw wirtten by xishuiw [TOC] ## 暑期训练 ### [2022-2023 ACM-ICPC Latin American Regional Programming Cont ......
Mind Gap the

The 13th Northeast Collegiate Programming Contest

## **Problem B. Balanced Diet** 其实就是对每种糖果从大到小的排序后,计算前缀和后再 $O(n)$ 处理,由于最多只有 $n$ 个糖果,所以最大复杂度是 $O(nlogn)$。对于题目给的每种糖果的限制 $limit$ ,就把当前小于 $limit$ 的贡献加到 $ma ......
Programming Collegiate Northeast Contest The

CF1305F Kuroni and the Punishment

# CF1305F Kuroni and the Punishment 不难发现答案上界为 $n$。 考虑我们能做什么?我们可以对一个 gcd 快速求出最少操作次数。 这启发我们将 gcd 确定在某个范围后暴力对每个 gcd 做上面的操作。 gcd 怎么来?从 $a$ 中来。如果确定 $a_i$ 的 ......
Punishment Kuroni 1305F 1305 and

The 2022 ICPC Asia Regionals Online Contest (I) C L A

# [The 2022 ICPC Asia Regionals Online Contest (I)](https://pintia.cn/market/item/1571156622976593920) ## C 统计度的大小,算贡献,特判 $n = 1$ ```c++ #include usin ......
Regionals Contest Online 2022 ICPC

vite打包报错:ERROR: Top-level await is not available in the configured target environment ("es2015" + 2 overrides)

在开发时,vita打包报错如下: 原因: ECMAScript 提案 Top-level await 由 Myles Borins 提出,它可以让你在模块的最高层中使用 await 操作符。在这之前,你只能通过在 async 函数或 async generators 中使用 await 操作符。To ......

springmvc 开启异步请求报错 Java code using the Servlet API or by adding "true" to servlet and filter declarations in web.xml.

报错内容: java.lang.IllegalStateException: Async support must be enabled on a servlet and for all filters involved in async request processing. This is do ......
quot declarations springmvc Servlet servlet

CF437C The Child and Toy

### 题目大意 $n$ 个带权点,$m$ 条无向边,删除一个点就要付出所有与之连接且没有被删除的点的点权之和的代价。 求删除所有点的最小代价。 ### 思路 考虑点的贡献异常麻烦,我们可以把点的贡献转化为边的贡献。 对于一条边,我们有如下几点: 1. 伴随着所有的点被删掉,所有的边也会被删掉; 2 ......
Child 437C 437 The and

teamcenter soa 服务报错:The server returned an internal server。操作执行期间,与Teamcenter 服务器之间的通信丢失

原因:这个是代码有一个空指针,去加载属性所以报这个错误 这一段代码,框起来的就是空 ......

CF1858B The Walkway 图解

## 思路 **注意:所有变量名与原题面相同。** 因为 $1$ 号点必须吃一块饼干,所以我们可以在 $1$ 立一个不可删除的商店,记为 $s_0$。 **注意:如果 $1$ 号附近本身就有一个商店,那就不用立。** 然后我们可以在 $n + 1$ 的位置立一个不可删除的商店,作为一个结束标志,记为 ......
Walkway 1858B 1858 The CF

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 ......

Docker安装Redis错误Reading the configuration file, at line 416 >>> 'locale-collate ""' Bad directive or wrong number of arguments

docker安装redis报错*** FATAL CONFIG FILE ERROR (Redis 7.0.12) *** Reading the configuration file, at line 416 >>> 'locale-collate ""' Bad directive or wro... ......

【上传文件时异常】The field file exceeds its maximum permitted size of 1048576 bytes.

1、背景描述 本项目是个spring boot 项目,需要文件上传,上传的是一个 pdf文件,大小是5MB,报错内容如下: Caused by: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededEx ......
permitted 1048576 exceeds maximum 文件

Learn Git in 30 days——第 03 天:建立仓库

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 要开始使用 Git 最重要的就是要先有一份 Git 仓库 (Git Repository) 才行,但是,这份仓库 ......
仓库 Learn days Git 30

【转载】The Dog and the Shadow

## Article Format Source ChatGPT ## Main Content Source Title: The City Mouse and the Country Mouse Source: https://www.zhihu.com/question/263840407/a ......
Shadow The Dog and the

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

执行kubeadm 出现 FATAL: the ConfigMap "kubeadm-config" in the kube-system namespace used for getting configuration information was not found

现象: [upgrade/config] Making sure the configuration is correct:[upgrade/config] Reading configuration from the cluster...[upgrade/config] FYI: You can ......

[LeetCode] 2682. Find the Losers of the Circular Game

There are n friends that are playing a game. The friends are sitting in a circle and are numbered from 1 to n in clockwise order. More formally, movin ......
the LeetCode Circular Losers 2682

[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 ......

Unveiling the Power of Diagnostic Tools: Cat Caterpillar ET, Volvo Vocom II Interface, JLR DoIP VCI, WABCO Diagnostic Kit, and GM Tech 2

In the realm of automotive diagnostics, the right tools can make all the difference. Whether you're a professional mechanic or an avid car enthusiast, ......

Learn Git in 30 days——第 02 天:在 Windows 平台必装的三套 Git 工具

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 要开始使用 Git 版本控制,首先要安装适当的 Git 工具,这个系列的文章主要还是以 Windows 平台为主 ......
Git Windows 工具 Learn 平台

CF1850H The Third Letter

### 题目大意 $n$ 个士兵站队,给出 $m$ 个限制,要求士兵 $b$ 站在士兵 $a$ 前面距离为 $d$ 的位置,可以有多个士兵站在同一个位置。询问给定限制下是否存在合法的列队方案。 ### 思路 我们考虑把互相有直接或间接限制的点看作一棵树,加入到树中的结点是受到限制的。 最开始的状况没 ......
Letter 1850H Third 1850 The

CF776D The Door Problem

### 题目大意 给定门和钥匙的数量,每把钥匙控制 $k_i$ 扇门,每扇门被两把钥匙控制。 给定初始时每扇门的状态,求是否存在一种方法使得所有的门都打开。 ### 思路 扩展域并查集。 考虑分类讨论: - 对于开着的门,要么两把钥匙都用,要么两把钥匙都不用; - 对于关着的门,两把钥匙只能用一把。 ......
Problem 776D Door 776 The

Lifting the Stone

Smiling & Weeping 繁花落尽,我心中仍有花落的声音 一朵,一朵,在无人的山间轻轻飘落 题目链接:1385 -- Lifting the Stone (poj.org) 思路:将多边形三角剖分,计算出每个三角形的重心,三角形的重心是顶点坐标的平均值,然后对每个三角形的有向面积求加权平均 ......
Lifting Stone the

python 解决Could not import the lzma module. Your installed Python is incomplete问题

python 安装好pandas后import报错 如下图: ![image](https://img2023.cnblogs.com/blog/2865005/202308/2865005-20230815114944834-59637183.png) >原因分析 在执行./configure和m ......
incomplete installed python import Python

Table locking modes supported by the import utility

Table locking modes supported by the import utility https://www.ibm.com/docs/en/db2/10.5?topic=import-table-locking-during Last Updated: 2021-03-01 Th ......
supported locking utility import Table

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 ......

Git常见报错:Your local changes to the following files would be overwritten by merge

### 1、报错原因 该报错在git pull时出现,一句话解释就是你在本地改动了代码但是还没有提交,此时再拉取最新代码,远程代码和你当前的本地代码发生冲突!(注意有冲突时才会提示,如果没有冲突,则git pull成功,因为git pull实质上就是一个远程分支merge到本地分支过程。 ### 2 ......
overwritten following changes local files

Oracle启动监听报错:The listener supports no services或出现 unknown状态解决

1、查看$ORACLE_HOME/network/admin/listener.ora 文件中的host是否正确,能不能ping通 2、查看$ORACLE_HOME/network/admin/tnsnames.ora文件中的host是否与listener.ora中的一致 3、查看/etc/host ......
listener supports services 状态 unknown

CLIP: Learning Transferable Visual Models From Natural Language Supervision

## CLIP: Learning Transferable Visual Models From Natural Language Supervision 论文链接: https://arxiv.org/pdf/2103.00020.pdf 代码链接:https://github.com/open ......

CF793F Julia the snail 题解

## 题意 有一个长为 $n$ 的杆,上面有 $m$ 条绳子,每条绳子可以让蜗牛从 $l_i$ 爬到 $r_i$(中途不能离开),保证 $r_i$ 各不相同。蜗牛也可以自然下落。 现在有 $q$ 次询问,询问 $x$ 出发,途中高度不能低于 $x$ 或高于 $y$,问最高能爬到的位置。 $n,m,q ......
题解 Julia snail 793F 793