right max the min
CF1400E Clear the Multiset
CF1400E Clear the Multiset 一道经典简单的分治 由贪心可知,对于一段区间[L,R],一共有两种处理方式 1.一个一个减,次数为l-r+1 2.先区间减,直到最小的减没了,在考虑最小值隔开的两个区间。如果有多个最小值,其实也不影响,再往下分的时候一定会分开。区间答案就是 $m ......
Course overview + the shell
虚拟机崩了,难受,不能即时玩……勉强试出来了几个Windows的指令,也还是蛮好玩的 但还是记一下linux的 date查看日期 echo打印,后可接$PATH打印所有路径 cd目录跳转 ..父目录 .子目录 ls显示文件 ls -l 显示文件的一些信息 mv 重命名 两个参数 cp 复制 两个参数 ......
Hack The Box-Starting Pointing-Redeemer
## 答案 1. 任务1:`6379`  2. 任务2:`redis`  2. 任务2:`445` $ DP 求出来的,但是这样我们还需要再枚举一个 $k$,复杂度 $O(n^3)$,难以接受。 那么我们 ......
解决:Volo.Abp.AbpInitializationException: An error occurred during ConfigureServices phase of the module Volo.Abp.Data.AbpDataModule, Volo.Abp.Data,
问题复现说明: 问题说明: 手动搭建AbpVnext框架,就搭了Web层,配置好WebModule和Program,运行就一直报:An error occurred during ConfigureServices phase of the module Volo.Abp.Data.AbpDataM ......
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:
001、问题 [liujiaxin01@PC1 ~]$ docker search omicsclass permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.s ......
Hack The Box-Starting Point-Meow
## 环境准备 1. 注册 Hack The Box Lab账号 2. 安装Kali虚拟机 ## 入门 1. 连接到VPN 1.1 选择第一个, OpenVPN 1.2 点击“下载”按钮, 1.3 下载完成后,将文件复制到你的Kali中(位置你随意),这里我直接放在了桌面  2. 任务2:`21` ! ......
The final
The end T1 构造题 n/k为偶数很好构造,每组直接前面拿n/k/2个,后面拿n/k/2个 n/k为奇数需要想一想,首先可以把1~n分成n/k段,每段选一个放到一组里,按照以上方法处理n/k-3段,使每组各数之和相等。再来看前三段,可以把第三段提出来,用前1,2段构造一个等差数列。如何构造? ......
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - 证书链是由不受信任的颁发机构颁发的。)
昨天搞了个测试接口,用postman请求测试,Https的协议,然后请求发出去,既没有报错,也没有返回数据库的数据,code倒是0,不是 100,那程序也没有报错,这就奇怪了,我就先监测数据库,发现请求并没有过来,我傻眼了,一些简单的代码还能出错吗?然后开后端调试,就发现了上面的这个提示,在请求的时 ......
What are the differences between in vivo and in vitro testing of drugs for toxicology Studies?
Toxicology is the science of studying the harmful effects of chemical, physical, biological, and other exogenous factors on biological systems. It can... ......
The content of element type “web-app“ must match 解决方法
# 报错原因 问题描述 : 在创建 SpringMVC 时 , 选用 idea 的 webapp 模板来创建 , xml 配置文件中进行配置时发现提示警告 警告如下: 
GWAS表型的标准化方法一般有Quantile normalization、Inverse rank normalization、Z-score normalization等。 各自区别如下: ## 一、Quantile normalization 该方法将每个样本中表型值进行排序,然后将其规范化到 ......
CF1810G The Maximum Prefix
经典套路。 ## 题意 你将随机生成一个长度为 $k$ 的数组 $a$,其中 $a_i$ 有 $p_i$ 概率为 $1$,否则为 $-1$。定义其前缀和数组 $s_i = \sum\limits_{j = 1}^{i}a_j, i \in [0, k]$。如果前缀和数组的最大值为 $t(t \in ......
画出 sklearn 中支持向量机分类函数 SVC 的分类结果图(Draw the classification result graph of the svm classification function SVC in sklearn library)
在最近的学习中,看到代码中展示了如何画出支持向量机分类结果的决策面、最大间隙面和支持向量,即确定用支持向量机分类函数 SVC 进行分类后得到分类超平面和间隙面函数以及支持向量坐标的方法,分享给大家~ 1. 训练 svm 分类器 SVC 代码 1 from sklearn import svm 2 i ......
Windows 10: Open the Command Prompt via Right-Click Context Menu
Windows 10: Open the Command Prompt via Right-Click Context Menu NOTE: By default, certain newer Windows versions show "Open PowerShell window here" i ......
maven构建报错:Unable to load the mojo 'install' (or one of its required components) from the plugin 'org.apache.maven.plugins:maven-install-plugin:2.4'
项目在执行maven clean install时,报错: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project sby-compon ......
Min-25 筛学习笔记
# Min-25 筛学习笔记 $\text{By DaiRuiChen007}$ ## 一、简要介绍 Min-25 筛,是一种能在**亚线性**时间内求出特定的一类积性函数 $f(i)$ 的前缀和的算法。 具体来说,Min-25 筛可以在 $\mathcal O(\sqrt n)$ 的空间复杂度与 ......
[vue] Error: @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependency tree.
## 问题描述  ##解决方法 ``` npm i vue@3.2.26 ``` 重新运行即可 ``` npm r ......
BindingException异常:Type interface com.niuyun.dao.UserDao is not known to the MapperRegistry.解决了
## Mybatis出现:`org.apache.ibatis.binding.BindingException: Type interface com.niuyun.dao.UserDao is not known to the MapperRegistry.`的错误,如何解决? #### 错误如 ......
this version of the Java Runtime only recognizes class file versions up to 52.0
在 SAP Commerce Cloud Backoffice 做 full indexing 时,遇到错误消息: > ERROR: Error from server at https://localhost:8983/solr: Error CREATEing SolrCore 'master_ ......
log4cpp Naming collision for 'ERROR' detected. Please read the FAQ for a workaround
log4cpp使用 http://log4cpp.sourceforge.net/ 编译时候遇到:Naming collision for 'ERROR' detected. Please read the FAQ for a workaround 解决方法:在包含log4cpp头文件之前增加宏定义 ......
The remote SSH server rejected X11 forwarding request.“远程SSH服务器拒绝X11转发请求
启动kkFileView后弹出提醒无法正常访问服务器, 重启服务器时,需要安装出现如下提醒 方法一、 X11 forwarding依赖xorg-x11-xauth软件包,需要先安装xorg-x11-xauth软件包。 1. 使用Xshell执行下面代码 [root@VM-4-11-centos ~] ......
关于ASP.NET.CORE中的Failed to read parameter "string param" from the request body as JSON的处理
先上报错信息 Microsoft.AspNetCore.Http.BadHttpRequestException: Failed to read parameter "string param" from the request body as JSON. > System.Text.Json.Js ......
php解决 mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysq
The mysql extension is deprecated and will be removed in the future: use mysq 翻译: mysql_connect这个模块将在未来弃用,请你使用mysqli或者PDO来替代。 解决方法: 打开php.ini 配置文件把 di ......
the-little-prince-reading-notes
《小王子》读书笔记 Created: 2023-06-04T09:09+08:00 Published: 2023-06-19T09:08+08:00 Categories: ReadingNotes 第 26 章关于生离死别的印象深刻,water、bell …… > On the 31st of ......