solution p9194 the of

【图论】CF1508C Complete the MST

[Problem Link](https://codeforces.com/contest/1508/problem/C) 有一张 $n$ 个点的完全图,其中 $m$ 条边已经标有边权。你需要给剩下的边都标上权值,使得所有边权的异或和为 $0$,并且整张图的最小生成树边权和最小。 $n,m\le 1 ......
Complete 1508C 1508 the MST

[LeetCode] 1218. Longest Arithmetic Subsequence of Given Difference

Given an integer array arr and an integer difference, return the length of the longest subsequence in arr which is an arithmetic sequence such that th ......

Atcoder AGC062C Mex of Subset Sum

对 $a_i$ 从小到大进行排序,因为想到若 $ a_{i - 1}$ 肯定是能保证取不到的。 对排完序的 $a_i$ 做一个前缀和 $s_i = \sum\limits_{j = 1}^n$,令 $A_i$ 为 $a_{1\sim i}$ 中无法表示为子序列之和且 $ s_{i - 1} > x$ ......
Atcoder Subset 062C AGC 062

mongodb报错Sort exceeded memory limit of 104857600 bytes

mongodb运行过程中,遇到错误信息: 2023-07-14T09:29:33.853 ERR Failed to QueryBsPoolUnivStat error="(QueryExceededMemoryLimitNoDiskUseAllowed) Executor error during ......
104857600 exceeded mongodb memory bytes

Git提交时出现Merge branch 'master' of ...之解决方法

多人协作开发项目,在上传代码时通常会先pull一下远程代码,使本地与远程同步更新,但是如果远程此时与自己代码存在冲突,在解决冲突后提交有时会出现“Merge branch ‘master’ of …”这条信息。这是因为pull其本质是fetch+Merge的结合。通常会分为以下两种情况: 1.如果远 ......
方法 branch master Merge 39

PROPERTIES OF SQUARE NUMBERS

When a number is multiplied by itself, the resulting number is called as a square number. For example, when we multiply 5 by 5, we get 52 = 25. Here, ......
PROPERTIES NUMBERS SQUARE OF

CF1175F The Number of Subpermutations 对自己的警告--zhengjun

太久没见过启发式合并了,然后没想出做法。 首先笛卡尔树建出来。 然后直接枚举跨过 $mid$ 的长度为 $a_{mid}$ 的区间,RMQ $O(1)$ 验证即可。 发现这样的区间个数不超过左右区间大小的较小值,时间复杂度:$O(n\log n)$。 ### 代码 ```cpp #include u ......
Subpermutations zhengjun Number 1175F 1175

Certificate Chain of Trust

What is the Certificate Chain of Trust? HTTPS详解二:SSL / TLS 工作原理和详细握手过程 ......
Certificate Chain Trust of

excel 导出 The maximum length of cell contents (text) is 32767 characters

**导出excel功能,报错。错误日志提示::The maximum length of cell contents (text) is 32767 characters** ![](https://img2023.cnblogs.com/blog/2197916/202307/2197916-20 ......
characters contents maximum length excel

antd from 表单中的key 不能绑定input中的字段 Input.js:207 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'value')

``` 删除 ``` ![](https://img2023.cnblogs.com/blog/2773051/202307/2773051-20230714091226247-504439371.png) 不然则会出现 Input.js:207 Uncaught (in promise) Type ......
字段 表单 properties TypeError Uncaught

NVME-oF------PCIe-NVME

Similar to the SQ and CQ queue pairing mechanism for NVMe devices described in Section 6.2, InfiniBand also uses queue pairs of work queues (WQs) and  ......
NVME PCIe-NVME NVME-oF PCIe oF

[BalticOI 2015] Tug of War

# [BalticOI 2015] Tug of War ## 题意 拔河(*Tug of War*)在 Byteland 是十分受欢迎的运动。规则十分简单:两队以相反方向拉绳子。一年一度的 Byteland 拔河比赛将要进行,并且许多选手都报名参加了。作为公平竞赛专员,你的工作是把选手们划分为两个 ......
BalticOI 2015 Tug War of

Solution Set - “我将它捣成美梦愿你梦里无忧”

[TOC] $$ \text{So long lives this, and this gives life to thee.} \require{\cancel} \newcommand{\op}[1]{\operatorname{#1}} \newcommand{\anc}[0]{\op{anc ......
美梦 Solution Set

若依微服务使用openfeign ,写了一个接口,但是其他项目引入的时候显示找不到这个Bean:Could not autowire. No beans of 'RemoteHouseService' type found.

启动报错: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tokenController': Unsatisfied dependency expres ......

CF1486F Pairs of Paths 总结--zhengjun

需要保持: - 写代码前先仔细考虑一下细节,分类讨论清楚再开始码。 警告: - namespace 里面写了个 n,想调用全局 n 的时候没加 2*冒号。 思路大概就是分类讨论然后计数就完事了。 ### 代码 ```cpp #include using namespace std; using ll ......
zhengjun 1486F Pairs Paths 1486

【题解】CF gym 104337 G. Guess the Polynomial

statement:https://codeforces.com/gym/104337/problem/G 。 即求 $f(x)=\sum\limits_{i=0}^{p-2}a_ix^i$,其中只有不超过 $n$ 个 $a_i$ 非 $0$ 。 记: $$ \begin{aligned} A_{n ......
题解 Polynomial 104337 Guess gym

The 2019 ICPC China Shaanxi Provincial Programming Contest(2019陕西省赛)

## B. Grid with Arrows 并查集一下。 ```cpp #include "bits/stdc++.h" using namespace std; using i64 = long long; struct UnionFind { int n; vector f; UnionFin ......
2019 Programming Provincial Contest Shaanxi

Solution Set of NFLS SImulations

在 nfls 的最后一天,来记录一些似乎有意义的题吧。 没有原题(或者我忘了原题)的就简要写下题意,不放原题面了。 [TOC] ![NOI2023 模拟赛 33](https://img2023.cnblogs.com/blog/2913835/202307/2913835-202307120824 ......
SImulations Solution NFLS Set of

MEANTIME Mixture of Attention Mechanisms with Multi-temporal Embeddings for Sequential Recommendation

[TOC] > [Cho S., Park E. and Yoo S. MEANTIME: Mixture of attention mechanisms with multi-temporal embeddings for sequential recommendation. RecSys, 20 ......

The information of Seminars Language

‘The seminar is a common way ofteaching students on university courses in the UK and it is very likely that you will experience seminars on your cours ......
information Seminars Language The of

解决docker报错Job for docker.service failed because start of the service was attempted too often

转载自:https://blog.csdn.net/Along_168163/article/details/124118833 docker安装之后重新安装报错如下: Job for docker.service failed because start of the service was at ......
service docker attempted because failed

The University of Queensland

The University of Queensland The University of Queensland 是一所位于澳大利亚昆士兰州布里斯班的公立研究型大学,成立于1909年,是澳大利亚八大名校之一。这所大学有 MBA 项目,属于商学院的研究生课程。如果你想了解更多关于这个学校和 MBA ......
Queensland University The of

django python manage.py migrate 后报错字段长度超了 django.db.utils.OperationalError: (1118 'Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535.

现象: 在models.py 将CharField字段的maxlength=修改后,执行ython manage.py migrate 报错django.db.utils.OperationalError: (1118 'Row size too large. The maximum row siz ......
django OperationalError size 字段 长度

AT_agc062_c [AGC062C] Mex of Subset Sum 思维妙妙题--zhengjun

思路比较巧妙。 首先排序。 考虑目前维护出 $a_{1 \sim i}$ 不能表示的数的集合 $S$。 考虑如何加入 $a_{i+1}$。 如果当前 $sum$ $$S'=S\cup [sum+1,a_{i+1}-1] \cup \{x+a_{i+1}|x\in S\}$$ - 若 $|S\cup ......
062 zhengjun 思维 AT_agc Subset

[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" vi /etc/yum.repos.d/epel.repo enabled=0vi /etc/yum/pluginconf.d/fastest ......
quot requested returned PYCURL Errno

D. Bag of mice -- (概率Dp)codeforces 148

###原题链接:[https://codeforces.com/contest/148/submission/213227373](https://codeforces.com/contest/148/submission/213227373) ###题意:捉老鼠游戏,谁捉到白鼠就是胜利,我们求公主 ......
概率 codeforces mice Bag 148

【Docker】报错:Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock

安装完docker,运行指令时,出现了以下错误提示: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fva ......
Docker permission connect denied daemon

CF420E Playing the ball

## Description 程序员不能总是整天坐着编程。有时站起来离开办公桌,休息一下,与同事闲聊,甚至玩一会,也是十分好的主意。F 公司的程序员就特别喜欢一种球类游戏。 让我们想象一个在笛卡尔坐标系平面上玩的游戏。玩家坐落在点 $(0,0)$ 上,选择任意一个方向,扔出球。飞了一会儿的球在距离原 ......
Playing 420E ball 420 the

Top-level await 新特性(ERROR: Top-level await is not available in the configured target environment (“chrome87”.....})

Top-level await 新特性 「ECMAScript」提案 Top-level await 由 Myles Borins 提出,它可以让你在模块的最高层中使用 await 操作符。在这之前,你只能通过在 async 函数或 async generators 中使用 await 操作符。To ......
Top-level level await environment configured

How to save a web page as a long screenshot in its entirety? How to save a batch of screenshots of web pages? High-definition pictures, multiple formats

How to save a web page as a long screenshot in its entirety? How to save a batch of screenshots of web pages? High-definition pictures, multiple forma... ......