solution p9194 the of
打印机出现slide the green tab on drum unit
以兄弟MFC-7380打印机为例,相信很多使用耗材伙伴们在兄弟品牌打印机遇过这种情况:打印机屏幕出现“硒鼓!滑动硒鼓单元上的绿色滑块”字眼。 为什么会出现“硒鼓!滑动硒鼓单元上的绿色滑块”的提示?意味着要清洁鼓架上的电晕丝,按照图示来回滑动几次绿色滑块,把电晕丝上的灰尘清理掉。 (注:来回滑动几次将 ......
报错 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 ......
在idea/webstorm等terminal运行命令报错:Command rejected by the operating system没有权限【已解决】
在idea/webstorm等编译器terminal窗口运行命令报错:Command rejected by the operating system没有权限,Command rejected by the operating system ......
[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 ......
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_ ......
[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... ......
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 ``` 参 ......
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 ......
echarts 在使用dataZoom时报错,Cannot read properties of undefined (reading 'type')
今天我再vue中使用柱状图拖动时,一直报错Cannot read properties of undefined (reading 'type')。 原因如下,我使用了myChart 来接收数据,当myChart使用的是vue的ref或者reactive来命名的变量,如果这样子命名就会报上述错误。 ......
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( ......
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 ......
基于词袋(Bag of Words)和SVM的图片分类
[toc] # 摘要 虽然现在已经是深度学习的时代了,传统的机器学习方法日渐甚微,不过有些算法还是有着旺盛的生命力,比如SIFT、SVM,在一些深度学习算法中也能看到它们的影子。这些人工设计的经典特征和分类器可以让我们感受到那个时代计算机视觉的魅力。互联网上,需要处理识别的图像越来越多,为此图像分类 ......
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 ......
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 我们考 ......
当使用POI打开Excel文件遇到out of memory时该如何处理?
> 摘要:本文由葡萄城技术团队于博客园原创并首发。转载请注明出处:[葡萄城官网](https://www.grapecity.com.cn/),葡萄城为开发者提供专业的开发工具、解决方案和服务,赋能开发者。 当我们开发处理Excel文件时,Apache POI 是许多人首选的工具。但是,随着需求的增 ......
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...\ 当即便刷了几道莫队来泄泄愤。\ 刷了几道思维题 ......