hong kong programming the

【解决方法】各类软件启动报错:Failed to create the Java Virtual Machine

# 环境: >工具:小锐云服 PRO ,Windows 命令处理器,Java 环境 系统版本:Windows 10 # 问题描述: >描述:不知名原因导致的 Java 虚拟机创建失败,百度良久后通过修改系统环境变量,完成了对问题的处理。 >提示:若按照教程还是无法完成操作,可以进入右侧的企鹅,找我看 ......
Virtual Machine 方法 Failed create

训练合集-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

Programming abstractions in C阅读笔记: p114-p117

《Programming Abstractions in C》学习第48天,p114-p117,​总结如下: 一、技术总结 主要通过random number介绍了随机数的相关用法,interface​示例(random.h)​,client program示例(craps.c)。 ``` #inc ......
abstractions Programming 笔记 114 117

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 文件

【转载】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, ......

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

Programming abstractions in C阅读笔记p111-p113: boilerplate

《Programming Abstractions In C》学习第47天,p111-p113,总结如下: 一、技术总结 1.boilerplate ```c /* * File: random.h * Version: 1.0 * Last modified on Fri Jul 22 16:44 ......

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

.NET 7.0 Program.cs访问json配置文件

Program.cs中配置如下: //引用Microsoft.Extensions.Configuration; var Configuration = new ConfigurationBuilder() .SetBasePath(System.IO.Directory.GetCurrentDir ......
Program 文件 json NET 7.0

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