solution family sets of

Solution Set - 2023 省队集训

## 2023-7-8 模拟赛 ### 铁路 (railway) Source: ROI 2017 D1T4 C 国有 $n$ 个城市与 $m$ 条铁路线,铁路均为单向,第 $i$ 号铁路线被从起点到终点的 $(s_i + 1)$ 个城市 $c_{i, 1}, c_{i, 2}, \cdots, c ......
省队 Solution 2023 Set

XXI Opencup, Grand Prix of Korea

[TOC] ## XXI Opencup, Grand Prix of Korea OpenCup强度这么大吗( ### A 根据 Hall 定理, 把 $a$ 从大到小排序对于 $\forall x \in [1, n]$ 如果有 $\sum_{i = 1} ^ xa_i \leq \sum_{i ......
Opencup Grand Korea Prix XXI

【idea】今天才知道idea里面配置的maven-setting只在Idea里面有效

说来真的是惭愧: 今天才知道idea里面配置的maven-setting只在Idea里面有效。。。 背景是这样子的: 一直工作许多年,maven 配置都只是一个仓库,因为也没有配置多个库的需求。所以这个仓库也将近20多个G。(这不是重点)。 近来技术栈要升级,从JDK8升级到JDK17,并且同时两边 ......
idea maven-setting 天才 setting maven

warning: GOPATH set to GOROOT has no effect

因为配置`GOPATH`与`GOROOT`目录相同,所以报警,可以专门创建一个目录设置`GOPATH`。 `GOROOT`是下载安装go的目录,然后在环境变量`PATH`中配置好安装go目录下的bin目录,再创建一个目录配置为`GOPATH`即可 ......
warning GOPATH GOROOT effect set

nth-of-type nth-child和一点正则

nth-of-type: 会找到类名为span-50的标签,你这里的span-50的标签是div,就会拿父级里面的所有div去算奇数偶数的 let res = '123456789'.replace(/(?!^)(?=(\d{4})+$)/g, ','); 用于给数字加分割逗号 ......
正则 nth-of-type nth nth-child child

[P6093 [JSOI2015] 套娃]题解-贪心+set

20230707 ~~不想做题于是随机跳题~~ [传送门](https://www.luogu.com.cn/problem/P6093 "传送门") 我们考虑每个套娃$i$套到另一个套娃$j$里面的价值 很明显可以知道,这样可以减少$b[j]* out[i]$ 为了让答案尽可能小 我们就要让每一个 ......
题解 P6093 6093 2015 JSOI

麒麟V10服务器安装MySQL报错file /etc/my.cnf from install of mysql-community-server-8.0.33-1.el7.x86_64 conflicts with file from package mariadb-common-3:10.3.9-9.p02.ky10.x86_64

1.问题描述 具体地说,"/etc/my.cnf" 文件与 "mysql-community-server-8.0.33-1.el7.x86_64" 包中的文件发生冲突,并与 "mariadb-common-3:10.3.9-9.p02.ky10.x86_64" 包中的文件相冲突。 这种冲突是由于系 ......

Linux内核的container_of宏

# 简介 container_of宏是内核的常用宏, 通常用于通过结构体成员指针来获取结构体指针. 该宏依赖的一个基本原则是结构体在虚拟内存中是连续存储的. 还有铭记就是它是一个编译期就已经计算好的宏. ## 为什么要有container_of 根据内核考古学, container_of首次出现在L ......
内核 container_of container Linux of

[LeetCode] 2024. Maximize the Confusion of an Exam

A teacher is writing a test with n true/false questions, with 'T' denoting true and 'F' denoting false. He wants to confuse the students by maximizing ......
Confusion LeetCode Maximize 2024 Exam

this version of the Java Runtime only recognizes class file versions up to 55.0

问题: 运行SpringBoot demo时报错: this version of the Java Runtime only recognizes class file versions up to 55.0 at 原因: 编译版本和运行版本不一致,具体原因是编译版本高于运行版本,SpringBo ......
recognizes versions Runtime version class

CF1834E MEX of LCM

[也许更好的阅读体验](https://blog.csdn.net/Morning_Glory_JR/article/details/131583841?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22% ......
1834E 1834 MEX LCM CF

Set 接口及实现类

# Set 接口及实现类 ## Set 接口基本介绍 1. 无序(添加和取出顺序不一致),没有索引 2. 不允许重复,所以最多包含一个null 3. JDK API 中Set 接口实现类 ![image](https://img2023.cnblogs.com/blog/2387844/202307 ......
接口 Set

题解-Codeforces Round 805 (Div. 3) E. Split Into Two Sets

# 题解-Codeforces Round 805 (Div. 3) E. Split Into Two Sets (原题链接)[[Problem - E - Codeforces](https://codeforces.com/contest/1702/problem/E)] ## 思路 **知识 ......
题解 Codeforces Round Split Into

报错 Cannot construct instance of `java.time.LocalDate` LocalDateTime

原因:报错的原因就是导入了JacksonObjectMapper对象映射器,导致不知道怎么将LocalDateTime转换成Json类型的数据了,在没有导入使用JacksonObjectMapper的时候是不会报错的。 解决方式:指定LocalDateTime类型的数据如何进行序列化就好了,给实体类 ......

Solution Set - NOI级别真题选做

### [NOI2007] 社交网络 [Link](https://www.luogu.com.cn/problem/P2047)&[Submission](https://www.luogu.com.cn/record/114129998). ### [NOI2009] 管道取珠 [Link](h ......
真题 Solution 级别 Set NOI

19.19 RAC安装 35074478 补丁(ORA-800 / Set Priority / DB Performance Merge Patch for 19.19 (Requires Root Access) - 34286265 34318125)

0、一套新安装的19.19 RAC, orachk报告显示GI和DB没有安装 34286265 和 34318125 这两个补丁,不满足ORACLE最佳实践。 如果不安装这两个补丁,则数据库可能会遭遇ORA-00800错误,后台进程无法正确设置优化级。 通过MOS查询发现, 34286265 和 3 ......
19.19 19 Performance 补丁 35074478

[LeetCode] 2178. Maximum Split of Positive Even Integers

You are given an integer finalSum. Split it into a sum of a maximum number of unique positive even integers. For example, given finalSum = 12, the fol ......
LeetCode Integers Positive Maximum Split

ARC107F Sum of Abs

# ARC107F Sum of Abs **[题目传送门——洛谷](https://www.luogu.com.cn/problem/AT_arc107_f)** **[题目传送门——AtCoder](https://atcoder.jp/contests/arc107/tasks/arc107_ ......
107F ARC 107 Sum Abs

Solution Set - “女孩是瑰宝我心动一丝不苟”

[TOC] $$ \text{1 1 4 5 1 4} \newcommand{\op}[1]{\operatorname{#1}} \newcommand{\son}[0]{\op{son}} \newcommand{\str}[1]{\underline{\texttt{#1}}} $$ 打一首 ......
瑰宝 一丝不苟 Solution 女孩 Set

Illegal mix of collations

原因: 创建表的时候未设置COLLATE 临时解决: ```sql CONVERT(rr.operator_id USING utf8) COLLATE utf8_unicode_ci = CONVERT(pw.id USING utf8) COLLATE utf8_unicode_ci ``` 参 ......
collations Illegal mix of

Python的set集合详解

Python 还包含了一个数据类型 —— set (集合)。集合是一个无序不重复元素的集。基本功能包括关系测试和消除重复元素。集合对象还支持 union(联合),intersection(交),difference(差)和 sysmmetric difference(对称差集)等数学运算。 创建集合 ......
Python set

Lord Of The Root: 1.0.1实战

##**前言** Description:我创建这台机器是为了帮助其他人学习一些基本的CTF黑客策略和一些工具。我瞄准了这台机器,使其在难度上与我在OSCP上破解的机器非常相似。 这是一个引导到根计算机将不需要任何来宾交互。 有两种设计的权限提升方法。 ##**靶机环境** kali 192.168 ......
实战 Lord Root The Of

echarts 在使用dataZoom时报错,Cannot read properties of undefined (reading 'type')

今天我再vue中使用柱状图拖动时,一直报错Cannot read properties of undefined (reading 'type')。 原因如下,我使用了myChart 来接收数据,当myChart使用的是vue的ref或者reactive来命名的变量,如果这样子命名就会报上述错误。 ......
properties undefined dataZoom 时报 echarts

Cannot create a component of type 'ahb_mst_burst_incr' because it is not registered with the factory

运行VCS仿真报错: Cannot create a component of type 'ahb_mst_burst_incr' because it is not registered with the factory 但是我在test class中已经注册了,为什么还报错呢? 报错就说明没有找 ......

ORA-20000: Unable to set values for index xxx: does not exist or insufficient privileges

使用expdp/impdp导出导入数据时,遇到ORA-2000错误,如下所示: Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANTProcessing object type SCHEMA_EXPORT/ ......
insufficient privileges Unable values 20000

基于词袋(Bag of Words)和SVM的图片分类

[toc] # 摘要 虽然现在已经是深度学习的时代了,传统的机器学习方法日渐甚微,不过有些算法还是有着旺盛的生命力,比如SIFT、SVM,在一些深度学习算法中也能看到它们的影子。这些人工设计的经典特征和分类器可以让我们感受到那个时代计算机视觉的魅力。互联网上,需要处理识别的图像越来越多,为此图像分类 ......
图片 Words Bag SVM of

vscode打开settings.json方法

cmd + shift + p,输入setting Open Workspace Settings 也会打开UI设置界面;Open User Settings (JSON) 会打开用户设置 settings.json 文件;Open Workspace Settings (JSON) 会打开工作区设 ......
settings 方法 vscode json

IDEA:MAVEN:先:An illegal reflective access operation has occurred 后:Cannot access defaults field of Properties

maven打包发现出现以下警告,但是可以运行 通过在 VM选项中添加 --illegal-access=deny --add-opens java.base/java.lang=ALL-UNNAMED 不再出现刚才提示。 之后出现 Cannot access defaults field of Pr ......

「Solution Set」7/4

### 「SDOI / SXOI2022」无处存储 链加链求和。 考虑先搞出随机撒点,然后建虚树,这样比较好维护一点。 然后就是正常的整块打 tag,散块暴力加之类的。 我写的好麻烦/kk ### 「LibreOJ Round #11」Misaka Network 与 Accelerator 我们考 ......
Solution Set

当使用POI打开Excel文件遇到out of memory时该如何处理?

> 摘要:本文由葡萄城技术团队于博客园原创并首发。转载请注明出处:[葡萄城官网](https://www.grapecity.com.cn/),葡萄城为开发者提供专业的开发工具、解决方案和服务,赋能开发者。 当我们开发处理Excel文件时,Apache POI 是许多人首选的工具。但是,随着需求的增 ......
文件 memory Excel POI out