the
「游记」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>总括起来: ......
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, ......
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}, ......
[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 ......
《The 2023 Guangdong Provincial Collegiate Programming Contest》vp记录
队伍配置: \(Shui\_dream\) \(gaosichensb\) 和我这个菜鸡。 膜拜另外两个大佬 赛况: \(PS:\) 看高二的在那边打感觉挺有趣的我们也跑过来打了。 首先我把 \(A\) 签到题给签了,然后去看 \(D\) , \(gsc\) 去看 \(C\) ,这时候 \(lyq\ ......
解决错误 org.apache.ibatis.type.TypeException: The alias xxx is already mapped to the value xxxxx
具体错误信息如下:其实就是此类名和其他包有冲突 那么解决办法就是声明一个别名就好了:使用注解 解決办法 ......
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< ......
多主架构: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下缺少 ......
[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 ......
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 ......
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. ......
CF1332E Height All the Same
原题 翻译 首先看到这题首先可以想到应该和奇偶性相关…… 然后就没有一点思路了,遂看题解 首先,可以观察到结果和实际的高度无关,之和高度的奇偶性有关。 这个很好理解,因为我们可以用操作\(2\)使得在同奇偶性的数域内变化。 因此我们只考虑操作\(1\) 这里要知道一个结论:如果\(a_{i,j}\) ......
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.把版本和 ......
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 ......
SpringBoot项目启动报错:An incompatible version [1.1.22] of the Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]
问题解释: “安装了不兼容的Apache Tomcat原生库版本[1.1.22],而Tomcat需要版本[1.2.14]” 解决方法: ① 打开网页 http://archive.apache.org/dist/tomcat/tomcat-connectors/native/ ② ③ ④ ⑤ 复制到 ......
The 2021 ICPC Asia Macau Regional Contest
Preface 这场是上周六和队里VP的,因为中间其它比赛很多所以就没补题了把过了的题写一下 这场纯被徐神带飞,后期发现FFT精度问题提出了神之一手,然后又轻松写意地秒了道广义SAM,徐神真是太强辣 A. So I'll Max Out My Constructive Algorithm Skill ......
SQLAlchemy: What's the difference between flush() and commit()?
SQLAlchemy: What's the difference between flush() and commit()? https://pyquestions.com/sqlalchemy-what-s-the-difference-between-flush-and-commit A Se ......
CF1867C Salyg1n and the MEX Game
思路 看着无从下手,实际上又是一道诈骗题。 假设原数列不存在 \(0\),那么我们可以直接加入 \(0\),然后游戏结束,假设答案是 \(k\)。那么,如果我们选择加入 \(k\),来试图让答案变大,那么 Bob 就会移除一个数,最优的话是 \(1\),这样的话,你无论加入 \(1\) 还是 \(0 ......
Redis - 出现ERROR:WRONGTYPE Operation against a key holding the wrong kind of value
原因:用的方法与redis服务器中存储数据的类型存在冲突。 比如:有一个key的数据存储的是list类型的,但使用redis执行数据操作的时候却使用了非list的操作方法。 对一个Redis键执行不兼容的操作,这个错误通常发生在以下情况: 1、类型不匹配:试图执行的操作与键存储的数据类型不匹配。例如 ......
The 2020 ICPC Asia Shenyang Regional Programming Contest DFIK
The 2020 ICPC Asia Shenyang Regional Programming Contest - Codeforces DFIK D. Journey to Un'Goro 思路:思维+搜索 一开始以为是构造,好吧但是是搜索。 我们先考虑什么时候是最大值? 首先考虑,题目要求我们 ......
openjdk maven 打包报错 maven the trustAnchors parameter must be non-empty
原因: openjdk无法打包 解决:maven打包名加上 -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true 比如:mvn clean -Dmaven.wagon.http.ssl.insecure=t ......
Rust build is seamlessly integrated into the Flutter build process
super_clipboard uses Rust internally to implement low-level platform specific functionality. Rather than shipping prebuilt binaries with the plugin, R ......
The_Counterintuitive_Art_of_Memory:_Why_Retrieval_Beats_Cramming_
Introduction I have spent years as a cognitive psychologist, delving into the intricate mechanisms of memory and learning. And if there's one thing I' ......