solution p9194 the of
[gym102770L]List of Products
## 题意简述 我们根据唯一分解定理得到,对于每一个数 $x$ 可以表示成 $\sum p_i^{e_i}$ 的形式,其中 $p_i$ 表示第 $i$ 大的素数。 我们重新定义两个数之间的比较,对于两个数 $x,y$ : - 如果 $x=y$ ,两个数相等 - 如果 $x,y$ 不相等,我们就从小到 ......
Lakehouse: A New Generation of Open Platforms that Unify Data Warehousing and Advanced Analytics
在Delta Lake官网上提到的一篇新一代湖仓架构的论文.  多次重启之后还是不行,提示让进入紧急模式或退出 ## 排查原因 根据提示输入journalctl ......
【图论】CF1508C Complete the MST
[Problem Link](https://codeforces.com/contest/1508/problem/C) 有一张 $n$ 个点的完全图,其中 $m$ 条边已经标有边权。你需要给剩下的边都标上权值,使得所有边权的异或和为 $0$,并且整张图的最小生成树边权和最小。 $n,m\le 1 ......
[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$ ......
mongodb报错Sort exceeded memory limit of 104857600 bytes
mongodb运行过程中,遇到错误信息: 2023-07-14T09:29:33.853 ERR Failed to QueryBsPoolUnivStat error="(QueryExceededMemoryLimitNoDiskUseAllowed) Executor error during ......
Git提交时出现Merge branch 'master' of ...之解决方法
多人协作开发项目,在上传代码时通常会先pull一下远程代码,使本地与远程同步更新,但是如果远程此时与自己代码存在冲突,在解决冲突后提交有时会出现“Merge branch ‘master’ of …”这条信息。这是因为pull其本质是fetch+Merge的结合。通常会分为以下两种情况: 1.如果远 ......
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, ......
CF1175F The Number of Subpermutations 对自己的警告--zhengjun
太久没见过启发式合并了,然后没想出做法。 首先笛卡尔树建出来。 然后直接枚举跨过 $mid$ 的长度为 $a_{mid}$ 的区间,RMQ $O(1)$ 验证即可。 发现这样的区间个数不超过左右区间大小的较小值,时间复杂度:$O(n\log n)$。 ### 代码 ```cpp #include u ......
Certificate Chain of Trust
What is the Certificate Chain of Trust? HTTPS详解二:SSL / TLS 工作原理和详细握手过程 ......
excel 导出 The maximum length of cell contents (text) is 32767 characters
**导出excel功能,报错。错误日志提示::The maximum length of cell contents (text) is 32767 characters**  TypeError: Cannot read properties of null (reading 'value')
``` 删除 ```  不然则会出现 Input.js:207 Uncaught (in promise) Type ......
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 ......
[BalticOI 2015] Tug of War
# [BalticOI 2015] Tug of War ## 题意 拔河(*Tug of War*)在 Byteland 是十分受欢迎的运动。规则十分简单:两队以相反方向拉绳子。一年一度的 Byteland 拔河比赛将要进行,并且许多选手都报名参加了。作为公平竞赛专员,你的工作是把选手们划分为两个 ......
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 ......
若依微服务使用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 ......
【题解】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 ......
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 ......
Solution Set of NFLS SImulations
在 nfls 的最后一天,来记录一些似乎有意义的题吧。 没有原题(或者我忘了原题)的就简要写下题意,不放原题面了。 [TOC] codeforces 148
###原题链接:[https://codeforces.com/contest/148/submission/213227373](https://codeforces.com/contest/148/submission/213227373) ###题意:捉老鼠游戏,谁捉到白鼠就是胜利,我们求公主 ......
【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 ......