VERSION
CF1335E1 Three Blocks Palindrome (easy version)
## 思路 发现一个进阶回文序列仅包含三个部分:$x$ 个连续的 $a$,$y$ 个连续的 $b$,$x$ 个连续的 $a$。 对于一个 $a$,我们一定会取最外面的两个 $a$,如果不取,则答案一定不小或不变,所以我们枚举到 $a$ 的时候,一定是确定了最外围的两个 $a$ 的位置。 接下来再枚举 ......
提醒"libc.so.6: version `GLIBC_2.14' not found"系统的glibc版本太低
1.查看系统glibc支持的版本: strings /lib64/libc.so.6 | grep GLIBC_ GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 GLIBC_2.4 GLIBC_2.5 GLI ......
Vue packages version mismatch:
报错原因:vue与vue-template-compiler版本不匹配。 解决办法: 上图中说了看看使用vue-loader的版本,我的是13版本大于10.0版本,这个时候需要更新vue-template-compiler //卸载 npm uninstall vue-template-compil ......
CF1335E1 Three Blocks Palindrome (easy version)
## 思路 发现一个进阶回文序列仅包含三个部分:$x$ 个连续的 $a$,$y$ 个连续的 $b$,$x$ 个连续的 $a$。 对于一个 $a$,我们一定会取最外面的两个 $a$,如果不取,则答案一定不小或不变,所以我们枚举到 $a$ 的时候,一定是确定了最外围的两个 $a$ 的位置。 接下来再枚举 ......
E2. Erase and Extend (Hard Version)
题意:给你一个字符串s,请你找到所有的特殊字符串,满足它既是s的前缀,又是s的后缀,并输出它在s中出现的次数。 做法:对于第一步,我们只需要先做出kmp,考虑kmp中ne数组的意义,不就是求border吗,那么我们一直去求最后一个字符串字母的border,然后就能把所有的既是前缀又是后缀的字符串求出 ......
July 2023 (version 1.81)
July 2023 (version 1.81) 更新后显示发行说明 Update 1.81.1: The update addresses these issues. Welcome to the July 2023 release of Visual Studio Code. There are ......
HDU7326 string magic(Easy Version)
## HDU7326 string magic(Easy Version) ### tag:回文自动机 ### [题目链接](http://acm.hdu.edu.cn/showproblem.php?pid=7326) ### 题意: 多组样例,每组输入一字符串(长度1e5以内),输出满足下列条件 ......
could not find boost (missing iostreams) (found version xxxx)
具体报错信息如上图,通过终端指定-DBOOST_LIBRARYDIR是无效的, 需要在cmakelis中修改。注意这里报错溯源是cmakelist line29, 所以修改如下 set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "/home/rzhang/de ......
TLS X509 Version3.0
#################################################### # # 创建CA X509 version 3.0根证书 # #################################################### rm -rf /k8s/t ......
C1. Dual (Easy Version)
[link](https://codeforces.com/contest/1855/problem/C1) 像这种构造题可以先分类讨论一波 比如说全是正数或者全是负数,那么显然的就是可以用前缀和和后缀和来解决。 而如果有正有负呢?可以注意到的是数字非常小,而$2^5=32>20$了,那么我们就可以 ......
解决ls: relocation error: /lib64/libacl.so.1: symbol getxattr, version ATTR_1.0 not defined in file libattr.so.1 with link time reference
这个问题是在我conda 装了一个包之后就出现了,ls等最基础的命令没有办法用了,网上的帖子也没有很好解决我的问题,而且我试了把我刚刚安的包删掉也没有解决,后面仔细分析一下这个报错,猜测应该是包安装的过程中本地conda中的一些依赖与系统中的一些起了冲突。通过 ldd /lib64/libacl.s ......
How to update to the latest Python version On Linux All In One
How to update to the latest Python version On Linux All In One
update to the latest Python version on Raspberry Pi
......
E1 PermuTree (easy version)
# Codeforces Round 890 (Div. 2) ## A Tales of a Sort > 阿尔芬有一个长度为 $n$的正整数数组 $a$。 > > 阿尔芬可以进行以下运算: > > - 对于从 $1$ 到 $n$ 的所 $i$,用 $\max(0, a_i - 1)$ 替换 $a ......
E1. PermuTree (easy version)
E1. PermuTree (easy version) This is the easy version of the problem. The differences between the two versions are the constraint on $n$ and the time ......
Windows 11 Version 22H2 (Build 22621) 开发者资源下载
【原帖 https://bbs.pcbeta.com/viewthread-1933132-1-1.html 】 2022/5/26 根据 MDL 论坛的信息(参阅:https://forums.mydigitallife.net/threads/windows-11-imaging-customi ......
/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found
# 原因 使用的gcc没有找到对应的glib库。 每个版本的glib都会有改变,所以使用的时候必须匹配。 大部分是因为自己编译升级了gcc,再用新的gcc编译程序时没有找到当时匹配的类库。 # 查找原因 报错提示很明确了,`/lib64/libstdc++.so.6`中没有找到`GLIBCXX_3. ......
CodeForces 1856E1 PermuTree (easy version)
[洛谷传送门](https://www.luogu.com.cn/problem/CF1856E1 "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1856/E1 "CF 传送门") 考虑局部贪心,假设我们现在在 $u$,我们希 ......
CodeForces 1856E2 PermuTree (hard version)
[洛谷传送门](https://www.luogu.com.cn/problem/CF1856E2 "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1856/E2 "CF 传送门") 考虑局部贪心,假设我们现在在 $u$,我们希 ......
【题解】PermuTree (easy version) - Codeforces 1856E1
**链接:** https://codeforces.com/contest/1856/problem/E1 **题目大意:** 给定一棵以节点 $1$ 为根的树,树的大小不超过 $n(1\leq n\leq 5000)$ ,给树的节点赋各不相同的权值(可以简化为某个 $[1,n]$ 的排列),使得 ......
Windows 10, version 22H2 (updated Jul 2023) 中文版、英文版下载
Windows 10, version 22H2 (updated Jul 2023) 中文版、英文版下载 Windows 10 22H2 企业版 arm64 x64 请访问原文链接:,查看最新版。原创作品,转载请保留出处。 作者主页:[sysin.org](https://sysin.org) ! ......
JDK 版本异常导致 flutter doctor --android-licenses 出错 (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
flutter doctor --android-licenses Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.U ......
stm32cubeide ioc报错 This IOC file has been generated with CubeMX version 5.6.1 Your current CubeMX versionis 5.0.0
STM32Cubemx文件的版本不一致导致打不开.ioc文件的问题问题: This IOC file has been generated with CubeMX version 5.6.1Your current CubeMX versionis 5.0.0Please update to a n ......
Windows 10 on ARM, version 22H2 (updated Jul 2023) ARM64 AArch64 中文版、英文版下载
Windows 10 on ARM, version 22H2 (updated Jul 2023) ARM64 AArch64 中文版、英文版下载 基于 ARM 的 Windows 10 请访问原文链接:,查看最新版。原创作品,转载请保留出处。 作者主页:[sysin.org](https://s ......
linux strings 用法,解决类似libstdc++.so.6: version `CXXABI_1.3.11'问题
参考https://blog.csdn.net/Aliven888/article/details/122428668 ``` ./bin/horizon: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by ......
题解 CF1497C1 【k-LCM (easy version)】
posted on 2021-03-20 08:26:53 | under 题解 | [source](https://www.luogu.com.cn/blog/_post/320621) 看数据范围,$1\leq T\leq10^4$,$1\leq n\leq 10^9$,显然是构造题。 我们分 ......
题解 CF1497C2 【k-LCM (hard version)】
posted on 2021-03-20 09:09:40 | under 题解 | [source](https://www.luogu.com.cn/blog/_post/320635) 2023 编者注:有一些链接点不进去,分别是 cf1497c1 的 cf 页面和 此题与 [CF1497C1 ......
Dart SDK version 不匹配问题
运行 flutter pub get 报错 /Users/huangzengsong/flutter/bin/flutter --no-color pub get Running "flutter pub get" in untitled... The current Dart SDK versio ......
CF1846E2 Rudolf and Snowflakes (hard version) 题解
### Statement $T$ 次给定整数 $n$,判断是否存在 $q, k \ge 2$ 使得 $1 + q + q^2 + \cdots + q^k = n$。 $1 \le T \le {10^4}$,$1 \le n \le {10}^{18}$。 ### Solution 考虑弱化问题 ......
Your project does not reference ".NETFramework,Version=xxx" framework. Add a reference to ".NETFramework,..." property of your project file and then re-run NuGet restore.
错误:Your project does not reference ".NETFramework,Version=v4.6.1" framework. Add a reference to ".NETFramework,Version=v4.6.1" in the "TargetFramework ......
CF1152F2 Neko Rules the Catniverse (Large Version) 题解
发现挨位考虑填哪个不太现实,考虑值域。 令 $dp_{i,j,st}$ 表示考虑到 $i$,此时序列长度为 $j$,$i-m$ 到 $i-1$ 填空状态为 $st$ 的方案数,考虑选/不选数即可: $dp_{i,j,st}\times (\text{popcount}(st)+1)\to dp_{i ......