majority 134c arc the

【错误异常】The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".

The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+". 服务启动异常 排查mapper.xm ......
quot cache parameterMap cache-ref resultMap

ARC165 做题记录

有点结论场的感觉了。 A 题面 简单题。证明一个结论,只要 \(n\not=p^q(p \text{是} n \text{的一个质因子})\),都是有解的,反之无解。 先证明 \(n=p^q\) 无解,假定 \(n\) 分解为 \(p^a\times p^b(a\le b,a+b=q)\),此时两数 ......
ARC 165

win7系统 安装python3.6.5版本遇到“user installations are disabled via policy on the machine” 和“0x80070643 ”错误情况

一、遇到提示“user installations are disabled via policy on the machine”是 系统策略禁止这个安装 解决方案: 方法一: 1、打开【开始】菜单,选择【运行】。 2、在运行窗口中【打开】一栏输入【gpedit.msc】,点击【确定】。 3、此时会 ......

「游记」The 2023 ICPC Asia Regionals Online Contest (1)

N/A 考试一开始在找签到题(脑子有病吧 最后还是跟着榜做的题。 队友看了 \(L,D\),我看了 \(A\),写完 \(D\) 机房断网了,看别人知道了必须要重启电脑(此时距断网已经过了二十分钟左右了),重启电脑后交了 \(D\) 此时还是校内三题队第一,校内排名也还不错。 继续跟榜做,写 \(D ......
Regionals 游记 Contest Online 2023

[ARC119F] AtCoder Express 3

题目链接 观察样例 1 的解释,发现切换类型的方法是比较单一的 这种就是直接走一段换一段,我们可以人为钦定换乘时最多走一步,因为相邻的同色也可以视作走车站 这种情况复杂一些,需要往回走一段,但是依然可以发现往回走也至多一步,因为如果走了两步说明往回走了一步到达的车站依然同色,那么走的车站必然不会是后 ......
AtCoder Express 119F ARC 119

【杂题乱写】AtCoder-ARC113

AtCoder-ARC113A A*B*C 枚举 \(A,B\),那么 \(C\in [1,\left\lfloor\frac{K}{AB}\right\rfloor]\),时间复杂度是 \(O(K\log K)\)。 提交记录:Submission - AtCoder AtCoder-ARC113 ......
AtCoder-ARC AtCoder ARC 113

ubuntu vscode cannot open source file "stddef.h" (dependency of "chrono"). Please run the 'Select IntelliSense Configuration...' command to locate your system headers.C/C++(1696)

cannot open source file "stddef.h" (dependency of "chrono"). Please run the 'Select IntelliSense Configuration...' command to locate your system heade ......

How to Set the Default Gateway on Ubuntus

ip route list ip r | grep default sudo ip route add default via 10.10.1.1 sudo ip route add default via 10.10.1.1 dev enp0s3 sudo ip route delete defa ......
Default Gateway Ubuntus How Set

The 2nd Universal Cup. Stage 2: SPb

链接:https://contest.ucup.ac/contest/1356 A. Mixed Messages #include "bits/stdc++.h" using namespace std; using i64 = long long; int main() { ios::sync_ ......
Universal Stage The 2nd Cup

CF1017H The Films

Da 1y3。 今天因为初赛实在是没时间(懒得)写题了www,就放一道之前模拟赛场切的题吧。还有这个 CF 评分是假的,难点在于看懂题。 考虑令 \(c_i\) 表示序列中 \(i\) 元素的出现次数,对于一次询问 \(l,r\),令 \(d_i\) 表示 \(a_l,a_{l+1},\cdots, ......
1017H Films 1017 The CF

The POM for com.xubo:service_base:jar:0.0.1-SNAPSHOT is missing, no dependency information available

报错信息 [INFO] Scanning for projects... [INFO] [INFO] < com.xubo:service_edu > [INFO] Building service_edu 0.0.1-SNAPSHOT [INFO] [ jar ] [WARNING] The PO ......

GYM104090A Modulo Ruins the Legend - exgcd -

题目链接:https://codeforces.com/gym/104090/problem/A 题解: 转化一下发现只需要求满足下式的解: \[ns+\dfrac{n\times (n+1)}{2}d \equiv C(\bmod m) \]设 \(a=n,b=\dfrac{n(n+1)}{2}, ......
104090A 104090 Modulo Legend Ruins

[LeetCode] 1222. Queens That Can Attack the King

On a 0-indexed 8 x 8 chessboard, there can be multiple black queens ad one white king. You are given a 2D integer array queens where queens[i] = [xQue ......
LeetCode Attack Queens 1222 King

《The 2023 Guangdong Provincial Collegiate Programming Contest》vp记录

队伍配置: \(Shui\_dream\) \(gaosichensb\) 和我这个菜鸡。 膜拜另外两个大佬 赛况: \(PS:\) 看高二的在那边打感觉挺有趣的我们也跑过来打了。 首先我把 \(A\) 签到题给签了,然后去看 \(D\) , \(gsc\) 去看 \(C\) ,这时候 \(lyq\ ......

[ARC122E] Increasing LCMs

[ARC122E] Increasing LCMs Atcoder:[ARC122E] Increasing LCMs 洛谷:[ARC122E] Increasing LCMs Solution 应该意识到这题的核心思想在于构造,想办法将原问题不断划分为子问题。 此题策略的证明不算太难,但以我目前的 ......
Increasing 122E LCMs ARC 122

解决错误 org.apache.ibatis.type.TypeException: The alias xxx is already mapped to the value xxxxx

具体错误信息如下:其实就是此类名和其他包有冲突 那么解决办法就是声明一个别名就好了:使用注解 解決办法 ......
TypeException 错误 already apache ibatis

arc板刷记录

希望不鸽。 arc104 C. 注意一个条件是每层只能有一个人上或下。于是同一个ci相等的连续段一定是前一半上后一半下。那就很好判断一个区间是否能划成一个连续段。暴力dp。 D. (没写)设平均数是x,那么把所有数字减去x后比x小的数和比x大的数和互为相反数,于是避免了对选择数字个数的讨论。设fij ......
板刷 arc

The server is temporarily unable to service your request due to maintenance

访问不了 就是这个路径没有通 有几下几点 最重要的就是 看一下你的路径有没有错 主要就是看一下你服务器的端口号是不是变更了 或者就是你的ip、 第二点 就是看一下你的服务器有没有启动 这两点是最主要的 ......

The 2021 ICPC Asia Macau Regional Contest

目录写在前面AKFCGI写在最后 写在前面 比赛地址:https://codeforces.com/gym/104373 当了一场口胡选手。 我是彩笔。 以下按个人向难度排序。 A 随便找条路径,检查路径是否满足条件,满足则直接输出,否则倒序输出。 Code by YRMrSu: #include< ......
Regional Contest Macau 2021 ICPC

多主架构:VLDB技术论文《Taurus MM: bringing multi-master to the cloud》解读

华为《Taurus MM: bringing multi-master to the cloud》论文被国际数据库顶会VLDB 2023录用,这篇论文里讲述了符合云原生数据库特点的超燃技术。 ......

(Windows Hadoop环境配置)IDEA:ERROR util.Shell: Failed to locate the winutils binary in the hadoop binary path

ERROR util.Shell: Failed to locate the winutils binary in the hadoop binary path 出错原因:还没有在windows上配置hadoop环境变量。 解决:在windows上配置hadoop环境变量 参考:windows下缺少 ......
binary the winutils Windows 环境

[LeetCode] 1352. Product of the Last K Numbers 最后 K 个数的乘积

Design an algorithm that accepts a stream of integers and retrieves the product of the last k integers of the stream. Implement the ProductOfNumbers c ......
乘积 个数 LeetCode Product Numbers

Update 1.82.1: The update addresses this security issue.

August 2023 (version 1.82) 更新后显示发行说明 Update 1.82.1: The update addresses this security issue. Welcome to the August 2023 release of Visual Studio Code ......
addresses security Update update issue

ARC151

ARC151 A 直接看\(S,T\)不同的位置,然后贪心填就行了 #include<bits/stdc++.h> using namespace std; const int MAXN=2e5+5; int n; char S[MAXN]; char T[MAXN]; int main() { / ......
ARC 151

Fixed Autel IM608 II “The device is locked. Error code 106” Issue

Problem: When I was trying to use Autel IM608 II Key Programmer to read the 2016 BMW engine ECU ISN, it kept saying the prompt: “Abnormally detected. ......
device locked Fixed Autel Error

CF1332E Height All the Same

原题 翻译 首先看到这题首先可以想到应该和奇偶性相关…… 然后就没有一点思路了,遂看题解 首先,可以观察到结果和实际的高度无关,之和高度的奇偶性有关。 这个很好理解,因为我们可以用操作\(2\)使得在同奇偶性的数域内变化。 因此我们只考虑操作\(1\) 这里要知道一个结论:如果\(a_{i,j}\) ......
Height 1332E 1332 Same All

【杂题乱写】AtCoder-ARC112

AtCoder-ARC112A B=C 在 \(C\) 处计算答案,有: \[ans=\sum_{C=L}^{R-L} (R-L+1)-C=\dfrac{(R-2L+1)(R-2L+2)}{2} \]提交记录:Submission - AtCoder AtCoder-ARC112B -- - B 操 ......
AtCoder-ARC AtCoder ARC 112

Eclipse中出现Java compiler level does not match the version of the installed java project facet问题

问题描述同样的项目copy到另外一个package中报错 解决方法1. 右键项目 properties --> Java compiler 查看选择的版本 2. 到项目的路径下,使用文本编辑器打开org.eclipse.wst.common.project.facet.core.xml 3.把版本和 ......
installed the compiler Eclipse project

Image decoding on the web

Image decoding on the web Inian ParameshwaranJun 12, 2019 What is decoding Image decoding is the process of converting the encoded image back to a unc ......
decoding Image the web on