shadow the dog and
【错误异常】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 ......
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 ......
【Vue】关于 The template root requires exactly one element 报错的解决方案
在<template>内添加<div>总括起来: ......
About Cnblog : Faith and Salvation
博客园(Cnblogs)是一个中国的技术博客平台,致力于为技术爱好者、开发者和IT专业人员提供一个分享知识和经验的社区 我不对其它类似平台做评价,平台与用户行为以及水平并不挂钩. 关于Salvation的建议:由于cnblog的初始UI以及性能感官较差,建议对网站进行风格优化,吸引新成员.对网站自定 ......
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 ......
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_ ......
CF1017H The Films
Da 1y3。 今天因为初赛实在是没时间(懒得)写题了www,就放一道之前模拟赛场切的题吧。还有这个 CF 评分是假的,难点在于看懂题。 考虑令 \(c_i\) 表示序列中 \(i\) 元素的出现次数,对于一次询问 \(l,r\),令 \(d_i\) 表示 \(a_l,a_{l+1},\cdots, ......
论文解读(FixMatch)《FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence》
Note:[ wechat:Y466551 | 可加勿骚扰,付费咨询 ] 论文信息 论文标题:FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence论文作者:论文来源:2020 aRxiv论文地址: ......
CF677D Vanya and Treasure
这题纯大力搞过去的,没用到啥技巧,后面看了下别人的做法发现还是很有意思的 我的做法就很粗暴,考虑令\(f_{i,j}\)表示走到\((i,j)\)的最短路,转移的话不难发现是个分层图DP 但是有一个显然的问题是当相邻两层间的点数很多时,暴力做的话会退化成\(O(n^2\times m^2)\),因此 ......
变量and输入输出
变量and输出 概念:变量,本质上是一个装东西的盒子,而且只能装一个值 一、 1.变量的命名规则 变量的名字由字母,数字,下划线_组成,不能以数字开头,不能以关键字命名,且区分大小写 变量的定义 格式:变量名 = 值 = 赋值符号 ==等于 a=1 b=2.1 c='hhh' 3.变量的类型 str ......
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}, ......
Deltix Round, Autumn 2021 (open for everyone, rated, Div. 1 + Div. 2) A. Divide and Multiply
有一个长为 \(n\) 的数组,可以执行以下整份操作任意次: 选择任意两个数 \(a_i, a_j\) ,满足 \(2 \mid a_i\) \(a_i = \frac{a_i}{2}\) \(a_j = 2 \cdot a_j\) 请找到经过任意此操作后的最大 \(\sum_{i=1}^{n} a ......
[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 ......
CF453C Little Pony and Summer Sun Celebration
如果一个点需要经过奇数次我们称其为奇点,偶数次则称其为偶点。 考虑不合法的情况,有任意两个奇点不连通,因为不经过也是经过偶数次。 那么需要处理的部分就是包含奇点的唯一一个连通块。先随意撸出一棵生成树,然后正常地 DFS 下去。显然有些结点可能不符合要求的奇偶性,对于父亲结点 \(u\) 和儿子结点 ......
论文阅读: Co-design Hardware and Algorithm for Vector Search
1. Introduction 介绍一下论文背景, 向量检索常用于 搜索引擎,推荐系统,LLM和科学计算等 对应的常用的硬件向量检索方法,IVF-PQ 其中IVF:将多个向量聚类, PQ将向量压缩 而为了最大化IVF-PQ的效果,也会面临很多的挑战 在芯片设计的过程中,会遇到针对六个阶段如何设计合适 ......
《The 2023 Guangdong Provincial Collegiate Programming Contest》vp记录
队伍配置: \(Shui\_dream\) \(gaosichensb\) 和我这个菜鸡。 膜拜另外两个大佬 赛况: \(PS:\) 看高二的在那边打感觉挺有趣的我们也跑过来打了。 首先我把 \(A\) 签到题给签了,然后去看 \(D\) , \(gsc\) 去看 \(C\) ,这时候 \(lyq\ ......
Replacing gcc and g++ with GNU version in macOS
After we install Xcode Command Line Tools, we will get gcc and g++ in /Library/Developer/CommandLineTools/usr/bin and the same contents in /usr/bin. B ......
CF1858D Trees and Segments
原题 翻译 这题预期说是\(dp\),不如说是预处理吧233 首先我们同时考虑两维限制是很困难的,如果我们想直接\(dp\)要设很多状态,复杂度爆炸 因此我们考虑暴力枚举一维。具体的,我们枚举把\([l,r]\)内的所有数染成\(0\),我们可以通过前缀和得到操作次数\(t\)(即为区间内\(1\) ......
解决错误 org.apache.ibatis.type.TypeException: The alias xxx is already mapped to the value xxxxx
具体错误信息如下:其实就是此类名和其他包有冲突 那么解决办法就是声明一个别名就好了:使用注解 解決办法 ......
Fox and Minimal path 题解
Fox and Minimal path 题目大意 构造一张无向图,使得从 \(1\) 到 \(2\) 的最短路数量为 \(k\)。 思路分析 我们首先可以发现当 \(k = 2^t\) 时的构造方式: 其中只有 \(O(\log k)\) 个点。 当 \(k\not = 2^t\) 时,我们可以将 ......
The server is temporarily unable to service your request due to maintenance
访问不了 就是这个路径没有通 有几下几点 最重要的就是 看一下你的路径有没有错 主要就是看一下你服务器的端口号是不是变更了 或者就是你的ip、 第二点 就是看一下你的服务器有没有启动 这两点是最主要的 ......
shadow credentials
前言: 修改目标计算机或用户账户的msDS-KeyCredentiallink属性的域内权限维持技术 这个属性能够设置原始公钥.当试图用pkinit进行预认证时,KDC将检查认证用户是否知道匹配的私钥,匹配的话会发送TGT,实现对目标对象的持久和隐蔽的访 攻击思路 获取高权限用户,通过目标用户添加s ......
The 2021 ICPC Asia Macau Regional Contest
目录写在前面AKFCGI写在最后 写在前面 比赛地址:https://codeforces.com/gym/104373 当了一场口胡选手。 我是彩笔。 以下按个人向难度排序。 A 随便找条路径,检查路径是否满足条件,满足则直接输出,否则倒序输出。 Code by YRMrSu: #include< ......
How to parse OR AND within text
假设你有一行 String condition = "A or B and C"; 语句,请问怎么做才能变成一行真正的逻辑表达式(能在计算机中运行计算)? Resolution 声明一个List<List<String>>结构; 先分割 or ; 变成 [ A, B and C ] 不包含and的, ......
doris建表报错 errCode = 2, detailMessage = Scale of decimal must between 0 and 9. Scale was set to: 10
doris建表报错 问题背景 当我从Mpp库向doris库中导数据时,需要先创建对应的数据表,将Mpp库中表的建表语句略作修改后,在doris服务器上运行 CREATE TABLE opt_connect_box_v8 ( CNT_BOX_ID char(72) NOT NULL, CNT_BOX_ ......
多主架构:VLDB技术论文《Taurus MM: bringing multi-master to the cloud》解读
华为《Taurus MM: bringing multi-master to the cloud》论文被国际数据库顶会VLDB 2023录用,这篇论文里讲述了符合云原生数据库特点的超燃技术。 ......