morning four the in

The 2022 ICPC Asia Regionals Online Contest (I)CDH

# **The 2022 ICPC Asia Regionals Online Contest (I)** ## **C Delete the Tree** 题意:想要删掉一棵树,你可以做以下两种操作: 1. 删除:删除一个点以及和它连的边 2. 收缩:选择一个点$x$它直接连有$2$个点$u,v$ ......
Regionals Contest Online 2022 ICPC

The 2022 ICPC Asia Regionals Online Contest (II)ABEFJ

# The 2022 ICPC Asia Regionals Online Contest (II) ## **A Yet Another Remainder** **题意:**给你一个正整数$x$,但是这个数被隐藏起来了。你问了电脑$min(100,n)$个问题,第$i$轮,的第$j$个问题:$O ......
Regionals Contest Online ABEFJ 2022

Programming abstractions in C阅读笔记:p123-p126

《Programming Abstractions In C》学习第50天,p123-p126,总结如下: # 一、技术总结 ## 1.notaion 这也是一个在计算机相关书籍中出现的词,但有时却不是那么好理解,因为它可以指代很多对象,这里做一个记录。示例:p124。 In C, you can ......
abstractions Programming 笔记 123 126

本地nacos启动报错: Please set the JAVA_HOME variable in your environment, We need java(x64)! jdk8 or later is better!

编辑startup.cmd文件 将模式从cluster改为standalone 插入一行指定你的JAVA_HOME路径set JAVA_HOME="C:\dev_files\jdk17" 然后启动nacos即可~ ......
environment JAVA_HOME variable Please better

Raspberry Pi 内网穿透实战教程 All In One

# Raspberry Pi 内网穿透实战教程 All In One > 树莓派 ## 使用场景 > 使用 Raspberry Pi 搭建个人 Web 项目的`服务器`,并且提供`外网访问`的能力 (Web, SSH) `数据安全`,私有代码 `低成本`服务器 容器化 微服务 全栈开发 ## dem ......
实战 Raspberry 教程 All One

【待解决】Typed variable declaration : Class: Workbook not found in namespace

beanshell中写excel,遇到如下问题: ERROR o.a.j.u.BeanShellInterpreter: Error invoking bsh method: eval Sourced file: inline evaluation of: ``import org.apache.p ......

[React Typescript] Inferring Type Arguments in Curried Hooks

import { DependencyList, useMemo, useState } from "react"; import { Equal, Expect } from "../helpers/type-utils"; const useCustomState = <TValue>(init ......
Typescript Inferring Arguments Curried React

[React Typescript] Function overload in React hook

import { useState } from "react"; import { Equal, Expect } from "../helpers/type-utils"; type UseStateReturnValue<T> = { value: T; set: React.Dispatch ......
React Typescript Function overload hook

createTreeWalker DOM API All In One

createTreeWalker DOM API All In One ......
createTreeWalker DOM API All One

Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range

在使用浏览器内置API btoa() 编码base64时: 报错Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range 报错信息解释: ......
39 characters contains execute encoded

解决python错误 UnicodeDecodeError: 'gb2312' codec can't decode byte 0x8b in position 1: illegal multibyt

报错的代码: url= 'http://kaijiang.500.com/shtml/ssq/19001.shtml' page =urllib.request.urlopen(url) content = page.read().decode('gb2312') 报这个错的原因是获取到的网页内容是 ......

The 2023 ICPC China Shaanxi Provincial Programming Contest

链接:[https://qoj.ac/contest/1290](https://qoj.ac/contest/1290) ## A 表达式板子。 $O(|s|)$。 ```cpp #include "bits/stdc++.h" using namespace std; using i64 = l ......
Programming Provincial Contest Shaanxi China

CCPC 2023 网络赛 J. Find the gap 另(不可行)解

### 题面 $n$ 个三维点 $(x_i,y_i,z_i)$,求两个距离最近的平行平面夹住所有点。输出距离。精度 $10^{-9}$。 $1\le n\le 50, 1\le x_i,y_i,z_i\le 10^4$。 ### 原题可行解 两种 case: - 答案平面平行于一个三点定平面; - ......
网络 CCPC 2023 Find the

Programming abstractions in C阅读笔记: p118-p122

《Programming Abstractions In C》学习第49天,p118-p122,总结如下: # 一、技术总结 ## 1.随机数 (1)seed p119,"The initial value--the value that is used to get the entire proc ......
abstractions Programming 笔记 118 122

Google classic interview questions, throwing eggs the least number of times All In One

Google classic interview questions, throwing eggs the least number of times All In One 谷歌经典面试题, 扔鸡蛋最少次数 你在一栋 100 层的大楼里工作,你得到 2 个相同的鸡蛋。 你需要计算出鸡蛋可以掉落到最高... ......
interview questions throwing classic Google

「TAOI-2」Break Through the Barrier 题解

前言:比赛前去做牙齿矫正,回来晚了 10 分钟……做比赛的运气全用在了一路绿灯上了(无语)。第二题切了两个半小时。决定写篇题解来抒发一下再记得~~愤怒~~愉悦之情。 AC 的想法很简单,就是表示出每一串连续的 $\texttt{T}$,其长度分别为 $l_1 \lim l_m$。明显的,对于任何一个 ......
题解 Barrier Through Break TAOI

Number of Beautiful Integers in the Range

Number of Beautiful Integers in the Range You are given positive integers low, high, and k. A number is beautiful if it meets both of the following co ......
Beautiful Integers Number Range the

a build cache key that uniquely defines the task’s outputs based on its inputs

Build Cache https://docs.gradle.org/current/userguide/build_cache.html The Gradle build cache is a cache mechanism that aims to save time by reusing o ......
uniquely defines outputs inputs build

2024 款特斯拉 Model Y All In One

2024 款特斯拉 Model Y All In One 仪表盘显示器或平视显示器可提高驾驶信息的可视性。✅ 附加摄像头可提供更好的视野和 360 度俯视图。✅ 通风座椅为夏季长途旅行增添舒适感。✅ 移动乘客腰部支撑,提高乘客的舒适度。✅ 后排座椅加长,增加长途驾驶的舒适度。✅ 自适应空气悬架可提高... ......
Model 2024 All One In

Gym103687D The Profiteer:回滚莫队信息双指针可以做到线性对数

## 标题写得好 所谓的回滚莫队信息意思是,设信息保存在两个大小分别为 $a, b$ 的结构上,将这两个信息进行合并得到大小为 $a + b$ 的信息需要的时间为 $\Omega(\min\{a, b\}\cdot f(n))$;而给定一个大小为 $1$ 的信息,可以在 $\mathrm O(f(n ......
对数 线性 指针 Profiteer 103687D

[转]By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find...

在编译安装的时候出现如下问题,是Eigen3的Cmake依赖问题, 已经安装eigen3,但在项目的find_package(Eigen3 QUERIED)中,无法找到FindEigen3.Cmake. CMake Error at loam_velodyne/CMakeLists.txt:13 ( ......

k8s推送代码至gitlab报错error: RPC failed; result=22, HTTP code = 413 fatal: The remote end hung up unexpectedly

``` # git push -u origin main Username for 'http://gitlab.wjl.net': root Password for 'http://root@gitlab.wjl.net': Counting objects: 1032, done. Delt ......
unexpectedly 代码 gitlab failed result

20230818 CHAPTER 6 Functions and the Stack 函数和栈

x31 arm SP寄存器 16byte对齐 调用函数,必须保存当前位置以便函数调用完成后返回,the link register (LR) which is X30, branch with link (BL) bl 与b 类似,不同的是 bl 在跳转前把下一条指令的地址保存在LR寄存器中,这样b ......
函数 Functions 20230818 CHAPTER Stack

20230818 CHAPTER 5 Thanks for the Memories arm64汇编内存使用

.data 段的内存引用实例 十进制数不要以0开头,否则会被认为是8进制数 一个数前面可以加-负号或者~取反符号; 申请一个内存块; 重复! 转义字符! 内存对齐 The offset from the PC has 19 bits in the instruction, which gives a ......
20230818 Memories 内存 CHAPTER Thanks

Python game engine framework All In One

Python game engine framework All In One Ren'Py 视觉小说引擎是一款开放源代码的自由软件引擎,用来创作透过电脑叙述故事的视觉小说。 Ren'Py之名是Ren'ai与Python两词混合而成。 Ren'ai 为日文,意指“恋爱”,而 Python 是 Ren... ......
framework Python engine game All

Learn Git in 30 days——第 04 天:常用的 Git 版本控制指令

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 本篇文章将带大家学会几个最重要也最基本的版控工作,其中将包含基本的文件操作如新增、删除、重新命名文件,提交变更 ......
指令 Git 常用 版本 Learn

The 2022 ICPC Asia Regionals Online Contest (II) EJFB

# [The 2022 ICPC Asia Regionals Online Contest (II)](https://pintia.cn/market/item/1571156622976593920) ## E An Interesting Sequence 232323232323 3232 ......
Regionals Contest Online 2022 ICPC

MySQL的Json类型字段IN查询分组和优化方法

​ 前言 MySQL从5.7的版本开始支持Json后,我时常在设计表格时习惯性地添加一个Json类型字段,用做列的冗余。毕竟Json的非结构性,存储数据更灵活,比如接口请求记录用于存储请求参数,因为每个接口入参不一致,也有不传和空传的等等。 然而在一些特定场景下,需要用Json字段里的某个键用来In ......
字段 类型 方法 MySQL Json

C#3.0入门系列(十一)-之In, Like操作

有这么一个例子,寻找一个表中的某个字段介于某个给定的集合该怎么办?Sql写起来很简单,比如:Select * from table where id in (2,3, 4, 5)。 就是寻找id字段为这个给定的集合(2,3, 4, 5)内的值。那Linq to Sql该怎么做呢?一个字,简单。In ......
Like 3.0 In

容器化部署nacos 1.4.6报错caused: The specified key byte array is 0 bits which is not secure enough for any JWT

### nacos2.0+ 与nacos 1.x区别 nacos在2.0+版本开始使用grpc与客户端通信,并且通过非8848端口通信 主要是有两个端口 | 端口 | 与主端口的偏移量 | 描述 | | | | | | 9848 | 1000 | 客户端gRPC请求服务端端口,用于客户端向服务端发起 ......
容器 specified caused enough secure