solution p9194 the of

CF437E The Child and Polygon

# The Child and Polygon 题解 > 这世界这么大,遇到了这个奇奇怪怪的题。 这道题其实可以很自然的联想到卡特兰数。 在卡特兰数的计数中,有这么一个意义:$C_n$ 表示把有 $n+2$ 条边的凸多边形分成 $n$ 个三角形的方案数。 利用这个意义可以得到 $C_n$ 的另一个递 ......
Polygon Child 437E 437 The

Solution Set - Splay

A[洛谷P3369]维护集合,支持插入,删除,查询$x$的排名,查询排名$x$的数,查询前驱,查询后继。 B[洛谷P3391]维护一个序列,支持区间翻转。 C[洛谷P3380]维护数列,支持单点修改,在某区间内查询$x$的排名,排名为$x$的数,前驱,后继。 D[洛谷P4036]维护一个字符串,支持 ......
Solution Splay Set

The rocketMQTemplate does not exist TransactionListener

rocketmq-starter版本:2.2.1 发送的代码: @Test public void test1() throws Exception { // 事务id String transactionId = UUID.randomUUID().toString(); info(">>> 发送 ......

Vulnhub之Connect The Dots靶机详细测试过程

# Connect The Dots ## 识别目标主机IP地址 ```shell (kali㉿kali)-[~/Desktop/Vulnhub/Connect_the_dots] └─$ sudo netdiscover -i eth1 -r 192.168.56.0/24 Currently s ......
靶机 过程 Vulnhub Connect Dots

14) chain of responsibility pattern

类别: behavioral pattern 问题: 高耦合,不灵活 if(){ }else if(){ }else if(){ } ... 方案: 示例: public class ChainOfResponsibilityPattern { public static void main(Str ......
responsibility pattern chain 14 of

Revisiting Fundamentals of Experience Replay

![](https://img2023.cnblogs.com/blog/1428973/202306/1428973-20230609121441155-1445259850.png) **发表时间:**2020(ICML2020) **文章要点:**这篇文章研究了experience repla ......
Fundamentals Revisiting Experience Replay of

Retrieval of the RSA public key is not enabled for insecure connections.

入职新公司,办理入职、培训、看业务……终于到了跑代码阶段了。遇到一个问题.net Framework链接数据提示RSA 失败或者SSPI失败。 原因不赘述,解决方案两步, 第一使用Navicate链接数据库,选中特定用户,一般上你用哪一个账户选哪一个账户 然后双击用户,改为这个就可以 第二部修改.N ......

CodeForces 1840G In Search of Truth

[洛谷传送门](https://www.luogu.com.cn/problem/CF1840G2 "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1840/G2 "CF 传送门") 每次询问获得的信息只有当前所在位置的数字。考 ......
CodeForces Search 1840G Truth 1840

mybatis出现Type interface com.louis.dao.xxxMapper is not known to the MapperRegistry.

原因是资源文件没有读取到,在生成的target中没有对应的文件,解决办法: 1、在pom.xml文件中project中添加如下内容: <build> <resources> <resource> <directory>src/main/resources</directory> <includes> ......

报错:[Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'state')"

1.错误详情 2. 错误分析 百度此错误发现,很多人可能忘记在main.js中引入store.js并挂载在vue实例上,或者state单词写错了 我审查了很多遍代码,依然报错,读取不到state中的数据,后来想到可能是版本的问题此项目是vue2,要使用vuex3才能正常运行,我安装的时候没有指定版本 ......
quot properties TypeError undefined reading

关于The JSON value could not be converted to System.DateTime的解决方案

如下json格式提交到后台后报: The JSON value could not be converted to System.DateTime. Path: $.beginTime | LineNumber: 3 | BytePositionInLine: 33. { "beginTime": ......

Application of Permutation and Combination

# Reference https://www.shuxuele.com/combinatorics/combinations-permutations.html # Online Tool https://gadget.chienwen.net/x/math/percomb # Cracking ......
Application Permutation Combination and of

windows 10 wsl 环境 docker 无法正常启动 -The system cannot find the file specified

错误信息: error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: Get "ht ......
specified windows 环境 docker cannot

Some demos of supervisor conf

# conf files in /etc/supervisor/conf.d/ ## Version Supervisor is installed by apt, and it's version is: ``` sudo supervisord --version 4.1.0 ``` ## Co ......
supervisor demos Some conf of

Kettle连接MySQL报错:Driver class 'org.gjt.mm.mysql.Driver' could not be found, make sure the 'MySQL' driver (jar file) is installed

在Windows系统里面安装kettle后打算连接MySQL的时候突然报错 错误连接数据库 [wanghui] : org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while trying to connec ......
Driver MySQL 39 installed Kettle

AtCoder Beginner Contest 304 G Max of Medians

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc304_g "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc304/tasks/abc304_g "AtCoder 传送门") 首先显然二分答案, ......
Beginner AtCoder Contest Medians 304

The user specified as a definer (‘skip-grants user‘@‘skip-grants host‘) does not exist

该问题是由于导出数据库或备份数据库引起的函数所有者发生变化 解决办法 复制源函数创建语句 删除DEFINER 重新创建 ......
skip-grants grants user skip specified

开发密码登陆接口用postman测试报错“key is of invalid type”

发现为go中jwt使用错误 我出错的地方为 // 出现错误地方为 tokenClaims := jwt.NewWithClaims(jwt.SigningMethodES256, claims) return tokenClaims.SignedString(jwtSecret) 我出错的点:加密方 ......
接口 密码 postman invalid type

1.4OF-CONFIG南向接口协议学习

# OF-CONFIG南向接口协议学习 ##### 任务目的 1、了解OF-CONFIG协议的基本原理。 2、掌握使用OF_CONFIG协议配置交换机的方法。 ##### 任务环境 | 设备名称 | 软件环境(镜像) | 硬件环境 | | : | : | : | | 交换机 | Ubuntu 14. ......
南向 OF-CONFIG 接口 CONFIG 1.4

ubuntu 20 permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/con ......
permission connect ubuntu denied Docker

「Solution Set」06/07

## P6109 [Ynoi2009] rprmq1 矩形加,矩形求和。但是修改都在查询前面。 trick:如果是矩形加并且没有时间的区别,可以将以为当作时间。相当于在一段时间内将序列的一段区间加。 然后可以转化为在序列的一段先加上,过一会再减掉。 查询可以看作在一段时间上所有时刻的区间最大值。可以 ......
Solution Set 06 07

cpp: Chain Of Responsibility Pattern

/*****************************************************************//** * \file PayrollProcessing.h * \brief 责任链模式Chain Of Responsibility Pattern 亦称: 职 ......
Responsibility Pattern Chain cpp Of

The first attempt of a MnZn

Prove: If $a > 0$,then $\forall x\in \mathbb R, a(\mathrm e^x+a)-x> 2\ln a+\dfrac32$ Proof: Let $f(x) = a(\mathrm e^x+a)-x$, then $f'(x) = a\mathrm e^ ......
attempt first MnZn The of

【leetcode】104. Maximum Depth of Binary Tree

给定一个二叉树,找出其最大深度。 二叉树的深度为根节点到最远叶子节点的最长路径上的节点数。 **说明:** 叶子节点是指没有子节点的节点。 **示例:** 给定二叉树 `[3,9,20,null,null,15,7]`, ``` 3 / \ 9 20 / \ 15 7 ``` 返回它的最大深度 3 ......
leetcode Maximum Binary Depth Tree

Solution Set - “潮汐守候终结放逐月圆”

[TOC] $$ \mathbb{Defining~\LaTeX~macros\dots} \newcommand{\chr}[1]{\underline{\texttt{#1}}} \newcommand{\lca}[0]{\operatorname{lca}} \newcommand{\gap} ......
潮汐 Solution Set

P9286 [ROI 2018] Extraction of radium

来一发简单做法 题目链接:[P9286 [ROI 2018] Extraction of radium ](https://www.luogu.com.cn/problem/P9286) 通过读题目,我们不难想到,找到既是横向最大值又是纵行最大值的位置,可以单独处理横向和纵向,满足一个方向的最大值就 ......
Extraction radium P9286 9286 2018

Backtrader - Sell/Buy signal labels are missing in the plotting

1.0 Missing Sell/Buy signal labels 2.0 Solution cerebro = bt.Cerebro(stdstats=True, cheat_on_open=True) stdstats=True,用回預設的stdstats就能顯示Sell/Buy signal ......
Backtrader plotting missing signal labels

解决使用yarn安装依赖出现“The engine "node" is incompatible with this module. Expected version "^14.18.0 || ^16.14.0 || >=18.0.0". Got "17.9.0"”的问题

# 1、问题描述 某天在使用`yarn`安装依赖的时候,突然出现如下错误导致安装依赖终止: **The engine "node" is incompatible with this module. Expected version "^14.18.0 || ^16.14.0 || >=18.0.0 ......
quot incompatible Expected version engine

Vue2项目开发时遇到:<template v-for> key should be placed on the <template> tag

问题缘由: Vue2和Vue3中,对待template中存在v-for行为的组件正好相反 Vue2中key必须写在子元素中,Vue3中key必须写在template中,不然会报错 使用volar插件,使用Vue3语法检测代码,导致错误 解决方案: 1、禁用volar 2、貌似可以修改配置项,但尚未尝 ......
template 项目开发 项目 should placed

上传文件异常:The temporary upload location [/tmp/tomcat.xxxxxxx/work/Tomcat/localhost/ROOT] is not valid

一个长久没更新过的spring boot项目突然间文件上传错误,异常信息如下,此原因主要问题是tomcat默认的临时目录没了,项目运行的服务器每隔一段时间会清除 /tmp 临时目录,项目每次启动都会创建临时目录,经常重启的项目不会有此问题。 解决方案: 1. 重启项目,每隔一段时间重启,可以跟 /t ......
temporary localhost location xxxxxxx 文件