shadow the dog and

920 F. SUM and REPLACE

[toc] # F. SUM and REPLACE 题目[传送门](https://codeforces.com/contest/920/problem/F) ## 题意: 给你n个数,按照顺序排列,再进行m次操作。每次操作要么是问你区间[l,r]的和,要么是让你将区间[l,r]的所有数$a_i= ......
REPLACE 920 SUM and

Lord Of The Root: 1.0.1实战

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

Can't import the named export XXXX from non EcmaScript module (only default export is available)的解决方法

# 解决方法: 1. https://stackoverflow.com/questions/69343038/cant-import-the-named-export-xxxx-from-non-ecmascript-module-only-default-expo 2. https://gith ......
export EcmaScript available default 方法

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中已经注册了,为什么还报错呢? 报错就说明没有找 ......

webclient download file The remote server returned an error: (403) Forbidden,

class WebpWebClient:WebClient { protected override WebRequest GetWebRequest(Uri address) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create( ......
webclient Forbidden download returned remote

Searching Chemical Action and Network:化学反应网络计算

计算化学的发展,为高价值化合物的合成开拓了新的反应途径。计算化学产生大量的数据,组织和可视化这些数据的过程对将其用于未来的研究至关重要。 由北海道大学化学学院 Keisuke Takahashi 教授和化学反应设计与发现研究所 (WPI-ICReDD) Satoshi Maeda 教授领导的研究团队 ......
Searching Chemical Network 化学 Action

POJ 3728 The merchant

题意好像不清楚: > 给定一棵 $n​$ 个点的树,每个点有点权 $val_i​$,现在有 $q​$ 个询问,每次询问给出 $u,v​$,设 $u​$ 到 $v​$ 的路径上的点编号为 $a_1,a_2\cdots a_{len}​$,求 $\max\limits_{1 \le x #include ......
merchant 3728 POJ The

javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10……

问题: 报错:javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10 is not accepted by client preferences [TLS12] 解决方式: 1、修改%JAVA_H ......

Meet in the middle

我们都知道搜索是非常常用的一个东西,我们在解决不了问题的时候就会选择他来暴力寻找最优解。 一般的暴力的复杂度都是指数级,比如常见的 01 背包,复杂度就是 $O(2^{n})$,而如果我们用了 meet in the middle,就可以让我们的时间复杂度降到 $O(2^{\frac{n}{2}}) ......
middle Meet the in

org.apache.spark.shuffle.FetchFailedException: The relative remote executor(Id: 21), which maintains the block data to fetch is dead.

# 问题描述 org.apache.spark.shuffle.FetchFailedException: The relative remote executor(Id: 21), which maintains the block data to fetch is dead. 最近在做Spark ......

【CF1845E】Boxes and Balls

# 题目 题目链接:https://codeforces.com/problemset/problem/1845/E $n$ 个盒子排成一排,每个盒子里可能会有 $0$ 或 $1$ 个球,一次操作可以把一个球移动到相邻的盒子中,并且要求任何时刻不能存在一个盒子装有两个球。 给定 $m$,求在恰好 $ ......
1845E Boxes Balls 1845 and

Java 委托和继承(Delegation and Inheritance)

https://blog.csdn.net/Seriousplus/article/details/80462722 委派和继承都是为了提高代码的复用性,只是方式不同。 委派:一个对象请求另一个对象的功能,捕获一个操作并将其发送到另一个对象。 继承:利用extends来扩展一个基类。 Delegat ......
Inheritance Delegation Java and

cenos7安装mysql报错:The GPG keys listed for the "MySQL 8.0 Community Server"

rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022 执行以上语句后,重新执行安装语句即可。 yum install mysql-community-server ......
quot Community cenos7 Server listed

npm install 报错 npm ERR! gyp verb check python checking for Python executable "python2.7.15" in the PATH

今天新启动一个项目,在 npm install 安装依赖项时出现报错。 $ npm install > husky@0.14.3 install D:\programs\rubik-web\node_modules\husky > node ./bin/install.js husky settin ......
python quot executable npm checking

Could not fetch URL https://pypi.org/simple/keras-bert/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443):

pip下载包的时候报错 Could not fetch URL https://pypi.org/simple/keras-bert/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pyp ......

IDEA: File and code Templates

https://www.jetbrains.com/help/idea/file-template-variables.html /**encoding: utf-8 # Author : geovindu,Geovin Du 涂聚文. # IDE : PyCharm 2023.1 python 1 ......
Templates IDEA File code and

PyCharm 2023.1 File and code Templates

from: File template variables | PyCharm Documentation (jetbrains.com) https://www.jetbrains.com/help/pycharm/file-template-variables.html#custom_templ ......
Templates PyCharm 2023.1 2023 File

carefree茄哩啡 和 make the moment better

carefree, 无忧无虑的,就是龙套人员喽,什么都无所谓,没有respsonsiblity什么都不在乎,中心的人不抱怨,抱怨的人不在中心。 每时每刻都有很多flow 穿过你,你要经历无数的flow,因为你的存在,你要来把这个flow变得更好,这就是你的影响力impact. ......
carefree better moment make the

The Summer Holiday Trip

打算在此记录自己的暑假生活。 ### 6.29 放假啦 ~~其实几天前就放了,但忘记写了...~~,期末考的还不错,$296.5$的样子(GD小六)。\ 初中是个还不错的学校,要住宿。不过学校很大,设施很新,唯一不好的就是见不到小学同学了qwq...\ 当即便刷了几道莫队来泄泄愤。\ 刷了几道思维题 ......
Holiday Summer Trip The

Shadow——curl指定代理 fetch指定代理

curl和ts的fetch函数默认不会使用Shadow代理。如果你希望在这些工具中通过Shadow代理进行连接,你需要手动配置代理设置。 一、对于curl,你可以使用`--proxy`选项指定代理服务器的地址和端口。以下是通过curl命令并使用Shadow代理访问`https://api.opena ......
Shadow fetch curl

Task Execution and Scheduling In SpringBoot

## 开天辟地 - [Task Execution and Scheduling](https://docs.spring.io/spring-boot/docs/2.7.13/reference/html/features.html#features.task-execution-and-sche ......
Scheduling SpringBoot Execution Task and

UDPG and Lung Cancer Metastasis: Unraveling the Relationship

Lung cancer is one of the malignant tumors with fast-growing morbidity and mortality and the worst prognosis. The development of molecular biology and... ......

【转】python踩坑(FileNotFoundError: Could not find module '此处省略了一些路径win_amd64.dll' (or one of its dependencies). Try using the full path with constructor syntax.)

1、报错 (FileNotFoundError: Could not find module '此处省略了一些路径\site-packages\scipy\.libs\libbanded5x.GL5FZ7Y77HIKQFNMZKUOMV5GID6YMX2V.gfortran-win_amd64.dl ......

shadow callstack

在函数入口将X30(LR)保存到x18所指向的shadow callstack里;在函数返回时将x18所指向的shadow callstack里的LR pop到X30(LR) push 2d5bc: d10183ff sub sp, sp, #0x60 2d5c0: f800865e str x30 ......
callstack shadow

在Vscode使用命令npm报错-The operation was rejected by your operating system. npm ERR! It's possible that the file was already in use (by a text editor or antivirus)

##报错信息: PS D:\disk\xubo\个人博客文章\27-Vue\资料(含课件)\vuedemo\vueproject> npm i pubsub-js npm ERR! code EPERM npm ERR! syscall open npm ERR! path D:\disk\soft ......
npm antivirus operation operating was

【每日一题】Problem 414B. Mashmokh and ACM

[原题](https://codeforces.com/problemset/problem/414/B) #### 解决思路 1. 先计算 $[1, n]$ 中的约数集合 2. $dp[i][j](i\in [1, n], j\in [1, k])$ 表示第 $j$ 个数放置 $i$ 所拥有的可能 ......
Mashmokh Problem 414 ACM and

CF842E Nikita and game 题解

## 题意 一棵树初始只有一个编号为 1 的根结点。 $n$ 次操作,每次新增一个点作为 $p_i$ 的子结点,询问更新后有多少点可以作为树直径的端点。 $n\le3\times10^5$。 ## 题解 以下 $dist(x,y)$ 表示点 $x$ 与点 $y$ 在树上的距离。 不难发现若干条直径必 ......
题解 Nikita 842E game 842

【CF678F】Lena and Queries

好题。 大致题面: 动态加入删除直线 $kx+b$,查询所有直线过某条竖线 $x=p$ 的最高点。 这个不带删除显然是李超树模板题,但是李超树不可以进行删除。一般来说,我们可以考虑线段树分治来解决这一类难以删除的问题。 一个不成熟的想法是把李超树交换节点的信息存储到了栈里,然后交换,这个是可以做的。 ......
Queries 678F Lena 678 and

【CF1797F】Li Hua and Path

于 2023.5.10 更新 : 更正了两处笔误。 考虑如下定义: $A$ 表示满足第一种路径的 $(u,v)$ 集合。 $B$ 表示满足第二种路径的 $(u,v)$ 集合。 $C$ 表示满足前两种路径的 $(u,v)$ 集合。 然后答案显然就是 $|A| + |B| - 2|C|$。先求出这一类的 ......
1797F 1797 Path Hua and

Remember and Forget for Experience Replay

**发表时间:**2019(ICML 2019) **文章要点:**这篇文章想说如果replay的经验和当前的policy差别很大的话,对更新是有害的。然后提出了Remember and Forget Experience Replay (ReF-ER)算法,(1)跳过那些和当前policy差别很大 ......
Experience Remember Forget Replay and