learning summary second the

The 2022 ICPC Asia Nanjing Regional Contest(A.Stop, Yesterday Please No More)

模拟边界(不是袋鼠)移动,通过二维差分维护左上角和右下角,同时注意排除重复的点 #include<bits/stdc++.h> using namespace std; #define endl "\n" typedef long long ll; const int N = 1e3 + 5; in ......
Yesterday Regional Contest Nanjing Please

The 2022 ICPC Asia Nanjing Regional Contest (G. Inscryption)

Problem - G - Codeforces 反悔贪心 #include<bits/stdc++.h> using namespace std; typedef long long ll; #define endl "\n" const int N = 1e6 + 5; inline int g ......
Inscryption Regional Contest Nanjing 2022

How to get the Axios's response file type All In One

# How to get the Axios's response file type All In One > 获取 Axios 请求响应头中的文件类型 ## Axios `API` https://www.npmjs.com/package/axios ## demos ```js import ......
response Axios file type How

[CF1794E] Labeling the Tree with Distances 题解

# [CF1794E] Labeling the Tree with Distances 题解 ## 题目描述 给你一个树,边权为 $1$。给定 $n-1$ 个数,你需要将这些数分配到 $n-1$ 个节点上。 一个点 $x$ 是好的,当且仅当存在一种分配方案,所有被分配数的点到 $x$ 的最短路径长 ......
题解 Distances Labeling 1794E 1794

vue 使用Adsense错误:TagError: adsbygoogle.push() error: All ins elements in the DOM with class=adsbygoogle already have ads in them.

<div class="adsenseunit"> <!-- in-article-aquare2 --> <ins class="adsbygoogle" style="display: block" data-ad-client="ca-pub-3935005489954231" data-ad ......
adsbygoogle TagError elements 错误 Adsense

JLR DOIP VCI SDD Pathfinder Interface: The Best Choice for Jaguar Land Rover Lovers

If you are a Jaguar Land Rover (JLR) enthusiast, you must be familiar with the importance of having the right diagnostic tool at hand. In this blog po ......
Pathfinder Interface Choice Jaguar Lovers

P7 UVA11481 Arrange the Numbers

## UVA11481 Arrange the Numbers 组合数问题。 做法貌似很多,显然在前 $m$ 个数中选 $k$ 个,即 $C(m,k)$,然后后面有 $m-k$ 个数需要保证不放在自己的位置上,所以后面整体是一个禁位问题,貌似可以用棋盘多项式去推禁位公式,但是暂时不会。不过还有另外一 ......
Arrange Numbers 11481 UVA the

[CF1830F] The Third Grace

## 题目描述 You are given $ n $ intervals and $ m $ points on the number line. The $ i $ -th intervals covers coordinates $ [l_i,r_i] $ and the $ i $ -th ......
1830F Grace Third 1830 The

Autofac报错No constructors on type 'xxx' can be found with the constructor finder

**No constructors on type 'JK.TitanData.Repository.Fact_Sales_GMVTargetTotalRepository' can be found with the constructor finder 'Autofac.Core.Activat ......

G. The Great Equalizer

G. The Great Equalizer Tema bought an old device with a small screen and a worn-out inscription "The Great Equalizer" on the side. The seller said tha ......
Equalizer Great The

CF1862F Magic Will Save the World

## 思路 假设总共耗时是 $s$ 秒,那么最多可以消灭的总生命值是 $s\times(w+f)$。 所以我们可以先求出所有怪物的生命值之和 $sum$,那么,至少需要时间 $t=\lfloor \frac{sum}{w+f} \rfloor$。 然后我们可以算出用这些时间最多可以用水魔法消灭的生命 ......
1862F Magic World 1862 Will

git中Updates were rejected because the tip of your current branch is behind解决方案

出现错误原因是操作过程中出现失误,git上进行的修改没有同步到本地的git仓库 解决方案:git push -u origin master -f 在远程仓库中进行的相关修改会被删除,是远程仓库回到你本地仓库为修改之前的版本。然后上传你本地仓库的修改。 注意:如果是多人开发则其他人的开发结果将会被恢 ......

Warning: /root/software/sqoop/../hcatalog does not exist! HCatalog jobs will fail. Please set $HCAT_HOME to the root of your HCatalog installation.问题的解决

# 问题描述 ![](https://img2023.cnblogs.com/blog/2808014/202308/2808014-20230825110459231-452577103.png) # 问题解决 进入到sqoop/bin的文件目录下: ![](https://img2023.cnb ......

Learn Git in 30 days——第 06 天:解析 Git 资料结构 - 物件结构

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 在 Git 的资料结构中,「物件」是一种「不可变的」 (immutable) 文件类型,所有储存在「物件储存区」 ......
结构 物件 Git 资料 Learn

SAP GUI Scripting VBA Code Snippet to Detect all IDs of the UI Elements

'-Begin Option Explicit Dim gColl() As String Dim j As Integer Sub GetAll(Obj As Object) ' '- '- Recursively called sub routine to get the IDs of all ......
Scripting Elements Snippet Detect Code

CF1862F Magic Will Save the World

bitset 优化可行性 DP。 注意到所有怪物需要魔法的和是一定的,问题转为判定是否能够恰好消耗 $i$ 点水魔法和 $sum-i$ 点火魔法,用 $f_i$ 表示这种分割方案是否可行,直接 dp 大概率会超时,使用 bitset 优化即可,最后根据 $f_i$ 统计答案。 代码: ```cpp ......
1862F Magic World 1862 Will

[CF1824D] LuoTianyi and the Function

## 题目描述 LuoTianyi gives you an array $ a $ of $ n $ integers and the index begins from $ 1 $ . Define $ g(i,j) $ as follows: - $ g(i,j) $ is the large ......
LuoTianyi Function 1824D 1824 and

「学习笔记」meet in the middle(折半搜索)

meet in the middle,适用于输入数据较小,但也没小到可以直接用暴力搜索通过的情况。 主要的思想就是讲整个搜索过程分成两半进行,最后在将这两半的结果进行合并,对于搜索复杂度为 $O(a^b)$ 的情况,meet in the middle 可以将它优化为 $O(a^{\frac{b}{ ......
笔记 middle meet the in

The database operation was expected to affect 1 row(s), but actually affected 0 row(s); 解决乐观并发

# [The database operation was expected to affect 1 row(s), but actually affected 0 row(s); 解决乐观并发](https://www.raokun.top/archives/thedatabaseoperatio ......
operation row database actually affected

7月6日 Add bricks in the wall

# Add bricks in the wall ``` C++ #include #include using namespace std; int main() { int n = 0; // 测试用例数量 int t = 9; // 行数 cin >> n; while (n--) { int ......
bricks wall Add the in

[React Typescript] Updating the Global Namespace for an Additional Attribute

I want to add a common attribute to dom element globally: <> <div testId="123" /> <audio testId="123" /> <video testId="123" /> <a testId="123" /> <ab ......

mysql导入sql文件“Index column size too large. The maximum column size is 767 bytes.”

问题分析 由于 MySQL 的 InnoDB 引擎表索引字段长度的限制为 767 字节,因此对于多字节字符集的大字段或者多字段组合,创建索引时会出现该问题。 说明 注:以 utf8mb4 字符集字符串类型字段为例。utf8mb4 是 4 字节字符集,默认支持的索引字段最大长度是 191 字符(767 ......
column size maximum 文件 mysql

[论文理解] HACK: Learning a Parametric Head and Neck Model for High-fidelity Animation

# HACK: Learning a Parametric Head and Neck Model for High-fidelity Animation 上科大发布的头和脖子精细建模的参数化模型HACK。 ## 纹理转化 由于HACK没有开源纹理基,我将FLAME开源的纹理基迁移到了HACK上,代 ......

论文解读(MetaAdapt)《MetaAdapt: Domain Adaptive Few-Shot Misinformation Detection via Meta Learning》

Note:[ wechat:Y466551 | 可加勿骚扰,付费咨询 ] 论文信息 论文标题:MetaAdapt: Domain Adaptive Few-Shot Misinformation Detection via Meta Learning论文作者:Zhenrui Yue、Huimin Z ......

Learn Git in 30 days——第 05 天:了解仓库、工作目录、物件与索引之间的关系

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 在使用 Git 版本控制的过程中,有些很基本的观念必须被建立,这样才能更有效率也更有意义的学下去。有清楚且正确的 ......
物件 仓库 索引 之间 目录

IDEA修改SpringBoot多模块项目设置提示“Module A must not contain source root B. The root already belongs to module B”的解决办法

“Module A must not contain source root B/java/src/. The root already belongs to module B”的解决办法 ......
root SpringBoot 模块 contain already

CF776D The Door Problem

## 思路 我们已经得知每盏灯的初始状态和哪两个开关控制它。 首先分类讨论: 如果最开始这盏灯是开着的,那么这两个开关应该做出同样的操作,即要么全按,要么全不按。 如果最开始这盏灯是关着的,那么这两个开关应该做出不同的操作,即一个按一个不按。 转化一个思路,就变成了有 $m$ 个数,其中有 $n$ ......
Problem 776D Door 776 The

P9574 「TAOI-2」Break Through the Barrier

## 思路 首先我们可以肯定的是,无论如何变化,答案最多比原序列的连续 $T$ 的个数多 $2$。 理由很简单,对于 $...BT...TB...$,最好的可能就是前后两个 $B$ 可以变成 $T$,因为只可能是 $BTTB$ 变成 $TBBT$,所以变了以后再外面就一定是 $B$ 了,且无法再变。 ......
Barrier Through P9574 Break 9574

Oracle script to check the database growth

1、Oracle script to check the database growth SET LINESIZE 200 SET PAGESIZE 200 COL "Database Size" FORMAT a13 COL "Used Space" FORMAT a11 COL "Used in ......
database Oracle script growth check

allowedOrigins cannot contain the special value "*"

Spring Boot的版本高于 2.4以后 ,原来的配置已经不适合目前的版本 将代码中的`allowedOrigins`改为`allowedOriginPatterns` ```java @Configuration public class WebConfig implements WebMvc ......
quot allowedOrigins contain special cannot