certificate chain trust of
AtCoder Regular Contest 167——B - Product of Divisors
题目很明显,给定 所有因数的积不断除以最多能除几次。 首先,很容易发现,对于每一对因子,都可以对答案得出B的贡献,设A的因子数目为n。 将A进行质因数分解,PBa1,PBa2,PBa3……PBam,那么因数个数就是质因子加一的乘积。 那么因子对数也就是前者一半。答案就是B乘因子对数除以二注意此处除操 ......
! CocoaPods 1.10.0 out of date (1.11.0 is recommended).
[!] Xcode - develop for iOS and macOS (Xcode 14.2) ! CocoaPods 1.10.0 out of date (1.11.0 is recommended). CocoaPods is used to retrieve the iOS and m ......
CF367C Sereja and the Arrangement of Numbers
这题首先上来会发现题目中的很多信息都是假的,核心就是问要构造一个\(x\)个点的完全图至少要多长的序列 我们把序列中相邻的两个元素看作图上的一条边,则可以把问题转化为:给一个\(x\)个点的完全图,问至少要走多长的路径才可以遍历图中的所有边至少一次 简单讨论下会发现当\(x\)为奇数时,此时图中每个 ......
CF612E Square Root of Permutation
挺有意思的一个构造题,不过这种排列置换相关的套路感觉都太明显了 首先考虑把原图的每个置换环求出来,稍作观察会发现所有长度为奇数的置换环都可以很容易地构造出对应的\(q\)数组 但长度为偶数的置换环就不能单独构造了,但我们发现可以把两个长度相同且为偶数的置换环交错着合并来得到一个合法的\(q\)数组 ......
USACO 2023 US Open Platinum Triples of Cows
洛谷传送门 LOJ 传送门 hot tea. 一次删点操作的影响太大了,考虑添加虚点以减小影响(相同的套路在 CF1882E2 Two Permutations (Hard Version) 也出现过)。 具体而言,我们把第 \(i\) 条边 \((u, v)\) 变成 \((u, n + i), ......
vue进行跳转之后出现Cannot read properties of undefined (reading 'router') TypeError: Cannot read properties of undefined (reading 'router'的问题
问题描述 使用router进行页面跳转时,就出现了这样的问题: 也就是这里出现了问题: 问题解决 本来是按照网上的教程: const _this=this; 但是,但是,我本来就是用的这种方法呀~ 然后就打算直接在这个界面引用: import router from '@/router' route ......
Go - Creating Subtests to Have Finer Control Over Groups of Test Cases
Problem: You want to create subtests within a test function to have finer control over test cases. Solution: Use the t.Run function to create subtests ......
[913] Updating a Table of Contents (TOC) in a Word document using pywin32 to display numbers
If the python-docx method mentioned earlier doesn't work on your computer, you can try using the pywin32 library, which allows you to interact with Mi ......
Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jira.ji.ID' which is not functionally dependent on columns in GROUP BY clause;only_full_group_by
这个报错的完整信息 Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jira.ji.ID' which is not functionally dependent on ......
definition of the convex optimization
A convex optimization problem is one in which the objective and constraint functions are convex, which means they satisfy the inequality \(f_i(\alpha ......
【dp】【竞赛图的性质】ARC163D Sum of SCC 题解
ARC163D 发现这个竞赛图一定能被分为两个集合 \(A\),\(B\)。满足 \(\forall u\in A,v\in B\),均有 \(u\to v\in E\)。答案就是划分这两个集合的方案数。 证明: 首先,竞赛图缩完点后一定是一条链,对强连通分量进行标号,满足编号小的强连通分量指向编号 ......
The solution of P9194
10黑寄。 problem & blog 考虑到处理加边并不简单,所以我们可以考虑一个黑点 \(p\),连边\((u,p)(p,v)\)。 考虑在现在这棵树上连个点在原图中有变相连相当于有一个公共的 \(p\) 是它们的邻居。 于是删边操作等价于将一个点的儿子黑点并到父亲黑点上。 为了统计答案我们设 ......
python报错解决-ValueError: Trusted host URL must include a host part: '#!
删掉#后面的字符 参考: pip install总是报错:ValueError: Trusted host URL must include a host part: ‘#‘-CSDN博客 ......
Issued certificate has expired.
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2020.11-Linux-x86_64.sh --2023-10-17 21:36:56-- https://mirrors.tuna.tsinghua.edu ......
Codeforces Round #870 (Div. 2) A. Trust Nobody
题解 #include <cstdio> #include <vector> #include <queue> #include <cstring> #include <algorithm> #include <iostream> #include <stack> #include <bitset> ......
web of science中查文献变灰,解决办法
用个人账号登陆会出现下面的问题: 文献这里用不了。 解决办法: 不要用自己的账号登录,要用学校的账号登录。 然后会出现下面界面,选择自己的学校: ......
【转】,接上面3篇.Implement Sql Database Driver in 100 Lines of Go
原文: https://vyskocil.org/blog/implement-sql-database-driver-in-100-lines-of-go/ Implement Sql Database Driver in 100 Lines of Go 2019.02.18 Go databas ......
[908] Implementation of the progress bar in Python
You can implement a progress bar in Python to visually represent the progress of a task using various libraries. One commonly used library for this pu ......
: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2023/10/16 19:07:45 tick2023/10/16 19:07:46 dial tcp 7.11.12.26:3309: connectex: Only one usage of each socket address (protocol/network address/port) ......
宝塔:国际版本宝塔,安装SSL后报错Certificate ERROR,please check!....
使用宝塔国际版搭建好网站后,正准备开启SSL证书,不料安装后,一闪而过,后面在证书夹里找到了SSL证书,但是点击保存的时候,报错:Certificate ERROR,please check!.... nginx: [emerg] "lua package path" directive is du ......
用户研究:如何利用VoC[Voice of Customer]数据使业务增长
在一个B端项目里,用户体验是非常重要的,一个好的用户体验可以让用户感受到舒适,以此提高自己的口碑等;在用户研究中,VoC是一项很重要的例子,它可以帮助我们收集用户的体验数据,以此进行更好的服务。 Voice of Customer 也就是VoC,这是在B端很重要的一个研究;因为B端的主要调研是面临客 ......
2——of C++ class relative
C++类 C++和java都是面向对象的语言,所以类的语法上看起来相似,但也有些区别,比如访问控制符的书写规范。除此之外,在访问控制权限,静态static等内容也有很大区别 1.访问控制权限 访问控制符 //不加的默认私有 class player { int x, y; int speed; vo ......
Leetcode 34. Find First and Last Position of Element in Sorted Array
题解 用了两次二分,分别计算第一个>=target的元素位置和第一个>target的元素位置。闭区间二分,[l,r]是未知的,保证每次答案都在[l,r]中,定义清楚nums[l-1]和nums[r+1]和target的关系。因为是while(l < r),所以到l == r时跳出循环,分析l == ......
解决:disagrees about version of symbol module_layout
下载了linux无线backports驱动包,在编译成功加载驱动模块时,报如下错误: insmod: ERROR: could not insert module compat/compat.ko: Invalid module format 起初以为是驱动的vermagic不匹配导致的,随即查看驱 ......
文献阅读-We extend the well-established assumption-based interface of incremental SAT solvers to clauses, allowing the addition of a temporary clause that has the same lifespan as literal assumptions.
Abstract: We extend the well-established assumption-based interface of incremental SAT solvers to clauses, allowing the addition of a temporary clause ......
AT_abc301_h [ABC301Ex] Difference of Distance
AT_abc301_h [ABC301Ex] Difference of Distance 更好的阅读体验 一道基础图论,很好口胡,但是实现不太简单。 考虑离线,把询问挂在边上,按边权从小到大处理。 处理到一个边权时,把边权小于它的边的两端用并查集合并,对于等于这个边权的边在并查集上建图,跑一边 t ......
ORA-01502: index 'xxx' or partition of such index is in unusable state
SELECT 'alter index ' ||INDEX_NAME || ' REBUILD;' INDEX_NAME, INDEX_TYPE, TABLESPACE_NAME, TABLE_TYPE, STATUS FROM DBA_INDEXES WHERE STATUS = 'UNUSABL ......
Power of Matrix
prologue 因为格式问题被卡了一小时的人是谁我不说。 analysis 首先这个题目如果我们暴力计算的话,时间复杂度是不允许的(矩阵乘法前面有巨大的常数)。 那么我们就考虑怎么用一些巧妙地方法去计算。我们就可以采取两次分治地思想,递归求解。 以下结论显然成立,读者自证不难: \[A^1 + A ......
数字人论文:Audio-Driven Facial Animation by Joint End-to-End Learning of Pose and Emotion
老规矩. 直接第三章 3. 端到端网络结构 给一个audio 短窗口, 也就是片段. 我们预测窗口中间时刻的面部表情. 我们把表情看做一个全端点的向量 (后面我们会看这是什么的一种刻画面部) 一旦我们网络训完, 我们回各个时间点同时生成, 并行. 即使不需要过去的帧画面, 依然生成很稳定的画面. ( ......
Landsat 8 Collection 2 Tier 1 calibrated top-of-atmosphere (TOA) reflectance
Landsat 8 Collection 2 Tier 1 calibrated top-of-atmosphere (TOA) reflectance. Calibration coefficients are extracted from the image metadata. See Chan ......