world wide rendering the

CF1805D A Wide, Wide Graph

原题 翻译 如果距离越长越优的题要考虑树的直径 我们发现这题对于一个\(k\),我们对于每个点,让他从最远的点连过来得到的图的连通性等价于原图的连通性 而对于一个点最远的点就是他到直径两个端点的距离 因此我们求出树的直径,然后对于两个端点\(dfs\),求出他们的深度,对于每个点,距离他们最远的距离 ......
Wide 1805D Graph 1805 CF

org/springframework/boot/maven/RepackageMojo has been compiled by a more recent version of the Java

项目场景:项目中执行clean,再执行install时报错,错误如下 org/springframework/boot/maven/RepackageMojo has been compiled by a more recent version of the Java Runtime (class ......

nuxt 项目 certificate has expired 或 nuxt unable to verify the first certificate

plugins/axios.js const https = require('https') export default function ({ $axios}){ $axios.create({ httpsAgent: new https.Agent({ rejectUnauthorized: ......
certificate nuxt expired 项目 unable

How to print a string with a variable by using the echo command in the shell script All In One

How to print a string with a variable by using the echo command in the shell script All In One Node.js & nvm ......
the variable command string script

使用 sudo apt-get update 命令时出现 Certificate verification failed: The certificate is NOT trusted.

命令: sudo apt-get update 问题:Certificate verification failed: The certificate is NOT trusted. Try installing ca-certificates. 忽略:1 https://professional- ......

springBoot 启动报错: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.

原因 其实这个异常在SpringBoot中是一个比较常见的异常,一般是因为SpringBoot自动配置时,检测到我们添加了MySQL、Oracle、Mybatis等和数据库相关的依赖包,结果我们的配置文件中却没有添加数据库相关的配置,比如: spring: datasource: driver-cl ......

CF1869C Fill in the Matrix

Link 首先想一下,如果又一列的 \(MEX\) 是 \(n\) 会有什么样的要求?需要这一样有 \(0~n-1\) 的所有数字并且没有\(n\) 当我们知道这一点以后问题就很好解决了. 我们应该构造数列的时候,满足第一行的\(MEX\)为 \(0\) ,第 \(i\) 行的 \(MEX\) 为\ ......
Matrix 1869C 1869 Fill the

Java学习之路--Hello World--注释

package com.chao.base;public class HelloWorld { public static void main(String[] args) { System.out.println("Hello,World!"); }}//单行注释/*多行注释 *//**JavaD ......
注释 Hello World Java

The 2023 ICPC Asia Regionals Online Contest (1)

Preface 这场打的还行,因为学长们都没发挥好被我们队偷了,但感觉发挥的也一般 前期开题顺序有点问题导致罚时很高,不过中期写题还是很顺的基本都是一遍过 只不过在3h的时候过完F到达8题后就开始坐牢了,虽然这场有两个字符串但徐神把H想复杂了,B可以说前面的建SAM和反串的AC自动机都想到了,也转化 ......
Regionals Contest Online 2023 ICPC

nginx启动报错:(1113: No mapping for the Unicode character exists in the target multi-byte code page)

转自:https://blog.csdn.net/qq_19309473/article/details/96477863 使用windows版本的nginx启动时遇到:(1113: No mapping for the Unicode character exists in the target ......
multi-byte character the mapping Unicode

The Second

前端开发工程师学习路线 前言:就业形势严峻,但稳扎稳打的知识终会带来不一样的结果。前端开发工程师未来发展将会更加迅速,有互联网的地方,就必然存在着着前端,而为了最终的用户体验,前端也在不断优化进步。目前较为流行的前端开发在移动端应用较为广泛,希望我能通过不断的学习,最终能够独立进行PC端、移动端、小 ......
Second The

Ubuntu22.04运行Splash Docker镜像报错,cloud not load the Qt platform xcb in even though it was found

Ubuntu 22.04 运行Splash Docker镜像报错,cloud not load the Qt platform xcb in even though it was found 重新执行同样的语句,即恢复正常。 ......
platform 镜像 Ubuntu Splash Docker

Road To Reality(The roots of science)

Road To Reality(The roots of science) The Good, the True, and the Beautiful ......
Reality science roots Road The

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in ......
Hello World

ScannerException: while scanning for the next token found character ‘@‘ 问题

1.今天运行程序,突然报错,显示 ScannerException: while scanning for the next token found character ‘@‘ 问题,上网搜索,有好多原因,最简单的解决方法是刷新maven,后来就好使了。其他原因可参考博客:ScannerExcept ......

Roads in the North POJ - 2631 - 树的直径/树形dp

题意:给出一棵无向树,求树的直径,即树上两点之间的最长距离 分析:两种解法 解法1:先任取一个点,找到距离该点最远的点u,再找到距离u最远的点v,那么u和v之间的路径就是一条直径。 证明:只要找到了树的直径的一个端点,再从该点找到最远点就一定是直径的另一个端点。所以只需要证明第一次找到的最远点u就是 ......
树形 直径 Roads North 2631

《The 13th Shandong ICPC Provincial Collegiate Programming Contest》 vp

简介 挂个 Link 先。 队伍配置:ddl,beiwen 和我 先%%%主力 ddl+关键先生 beiwen,我属于小躺一把。 赛时 放个结果 ......

The 2023 ICPC Asia Regionals Online Contest (1) ADI

The 2023 ICPC Asia Regionals Online Contest (1) A Qualifiers Ranking Rules 思路:按位次为第一关键字,场次为第二关键字排序即可。 // AC one more times // nndbk #include <bits/std ......
Regionals Contest Online 2023 ICPC

Java 之 实验一 -- 输出Hello world

实验一 输出 Hello World 编写一个简单的 Java 程序,在屏幕上输出”hello,World!”。 //**************************** //Hello.java //print a Hello,World message. //**************** ......
Hello world Java

Request body too large. The max request body size is 30000000 bytes.

调用 .Net Core 6.0 Web API 报错:Request body too large. The max request body size is 30000000 bytes. Startup.cs增加如下内容: services.Configure<KestrelServerOpt ......
body 30000000 Request request large

Hello,World!

Hello World 随便新建一个,存放代码 新建一个java文件 文件后缀名为.java Hello.java (注意点)系统可能没有显示文件后缀名,我们需要手动打开 3.编写代码 public class Hello{ public static void main(String[]args) ......
Hello World

【错误异常】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

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

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 ......