monocarp and set the
在idea/webstorm等terminal运行命令报错:Command rejected by the operating system没有权限【已解决】
在idea/webstorm等编译器terminal窗口运行命令报错:Command rejected by the operating system没有权限,Command rejected by the operating system ......
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 ......
[LeetCode] 2600. K Items With the Maximum Sum
There is a bag that consists of items, each item has a number 1, 0, or -1 written on it. You are given four non-negative integers numOnes, numZeros, n ......
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}}} $$ 打一首 ......
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
[500 The page cannot be displayed because an internal server error has occurred.]
[scriptProcessor could not be found in "fastCGI" application config... ......
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= ......
Python的set集合详解
Python 还包含了一个数据类型 —— set (集合)。集合是一个无序不重复元素的集。基本功能包括关系测试和消除重复元素。集合对象还支持 union(联合),intersection(交),difference(差)和 sysmmetric difference(对称差集)等数学运算。 创建集合 ......
Lord Of The Root: 1.0.1实战
##**前言** Description:我创建这台机器是为了帮助其他人学习一些基本的CTF黑客策略和一些工具。我瞄准了这台机器,使其在难度上与我在OSCP上破解的机器非常相似。 这是一个引导到根计算机将不需要任何来宾交互。 有两种设计的权限提升方法。 ##**靶机环境** kali 192.168 ......
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 ......
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( ......
Searching Chemical Action and Network:化学反应网络计算
计算化学的发展,为高价值化合物的合成开拓了新的反应途径。计算化学产生大量的数据,组织和可视化这些数据的过程对将其用于未来的研究至关重要。 由北海道大学化学学院 Keisuke Takahashi 教授和化学反应设计与发现研究所 (WPI-ICReDD) Satoshi Maeda 教授领导的研究团队 ......
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 ......
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}}) ......
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 ......
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/ ......
【CF1845E】Boxes and Balls
# 题目 题目链接:https://codeforces.com/problemset/problem/1845/E $n$ 个盒子排成一排,每个盒子里可能会有 $0$ 或 $1$ 个球,一次操作可以把一个球移动到相邻的盒子中,并且要求任何时刻不能存在一个盒子装有两个球。 给定 $m$,求在恰好 $ ......
Java 委托和继承(Delegation and Inheritance)
https://blog.csdn.net/Seriousplus/article/details/80462722 委派和继承都是为了提高代码的复用性,只是方式不同。 委派:一个对象请求另一个对象的功能,捕获一个操作并将其发送到另一个对象。 继承:利用extends来扩展一个基类。 Delegat ......
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 ......
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 ......
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 ......
vscode打开settings.json方法
cmd + shift + p,输入setting Open Workspace Settings 也会打开UI设置界面;Open User Settings (JSON) 会打开用户设置 settings.json 文件;Open Workspace Settings (JSON) 会打开工作区设 ......
「Solution Set」7/4
### 「SDOI / SXOI2022」无处存储 链加链求和。 考虑先搞出随机撒点,然后建虚树,这样比较好维护一点。 然后就是正常的整块打 tag,散块暴力加之类的。 我写的好麻烦/kk ### 「LibreOJ Round #11」Misaka Network 与 Accelerator 我们考 ......
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 ......
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 ......
carefree茄哩啡 和 make the moment better
carefree, 无忧无虑的,就是龙套人员喽,什么都无所谓,没有respsonsiblity什么都不在乎,中心的人不抱怨,抱怨的人不在中心。 每时每刻都有很多flow 穿过你,你要经历无数的flow,因为你的存在,你要来把这个flow变得更好,这就是你的影响力impact. ......
「Solution Set」7/3
### P4433 [COCI2009-2010#1] ALADIN 我们发现就是区间加一个等差数列,但是要取模后的。 我们考虑加一个首项为 $A$,公差为 $B$,项数为 $n$ 的等差数列,还要对 $C$ 取模。 那么和就是这样的:$\sum\limits_{i=0}^{n-1} Bi+A-\l ......
「Solution Set」 JOISC 2023
我觉得 JOISC 的题都非常有水平! ### P9329 [JOISC 2023 Day1] Two Currencies 简单题。因为每次尽量花银币,而且尽可能在银币花销比较小的花银币,所以整一棵主席树,二分。 复杂度 $O(n\log n)$ 非常好。 [Submission](https:/ ......
The Summer Holiday Trip
打算在此记录自己的暑假生活。 ### 6.29 放假啦 ~~其实几天前就放了,但忘记写了...~~,期末考的还不错,$296.5$的样子(GD小六)。\ 初中是个还不错的学校,要住宿。不过学校很大,设施很新,唯一不好的就是见不到小学同学了qwq...\ 当即便刷了几道莫队来泄泄愤。\ 刷了几道思维题 ......