the series find sum
find命令
find:搜索文件及目录在linux中,因为文件系统是以级别式的结构来组成的,所以要在整个系统中找到特定的文件和目录并不是件容易的事。而find命令可以解决上述问题。 1、在特定的目录下搜索并显示指定名称的文件和目录。 find / -name man:意思是说从根目录开始搜索名称为man的文件或目 ......
[WARNING] The POM for com.alibaba:druid:jar:1.1.21 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details是什么问题
这个警告表明 Maven 在尝试下载或处理 com.alibaba:druid:1.1.21 这个依赖项时遇到了问题。警告的具体内容是说 POM(Project Object Model)文件无效,这可能会导致 Maven 无法正确地处理传递性依赖关系。有几种可能的原因和解决方法: 1.网络问题: ......
Planting poplar threes—the application of a Chinese way to control soil cadmium pollution in Japan
Situations of soil cadmium pollution in Japan In the last century, there was a serious health accident in Japan, an outbreak of Itai-itai disease, whi ......
ZIMP - Init the Zimple Bank project
zzh@ZZHPC:~/zd/Github/zimplebank$ go mod init github.com/ZhangZhihuiAAA/zimplebank go: creating new go.mod: module github.com/ZhangZhihuiAAA/zimpleban ......
CF1886B Fear of the Dark
这道题只有两种情况:\(O\) 点和 \(P\) 点都在同一个圆圈里;或者 \(O\) 点在一个圆圈里,\(P\) 点在另外一个圆圈里。 让我们用 \(d(P,Q)\) 来表示 \(P\) 点到 \(Q\) 点之间的距离,\(R\) 记为半径。 我们先来看第一种情况:\(O\) 点和 \(P\) 点 ......
CA-TCC: 半监督时间序列分类的自监督对比表征学习《Self-supervised Contrastive Representation Learning for Semi-supervised Time-Series Classification》(时间序列、时序表征、时间和上下文对比、对比学习、自监督学习、半监督学习、TS-TCC的扩展版)
现在是2023年11月27日,10:48,今天把这篇论文看了。 论文:Self-supervised Contrastive Representation Learning for Semi-supervised Time-Series Classification GitHub:https://g ......
The Hello World of Deep Learning with Neural Networks
The Hello World of Deep Learning with Neural Networks dlaicourse/Course 1 - Part 2 - Lesson 2 - Notebook.ipynb at master · lmoroney/dlaicourse (github ......
MQTT vs. HTTP: which one is the best for IoT?
MQTT vs. HTTP: which one is the best for IoT? 翻译 搜索 复制 ......
The Hello World of Deep Learning with Neural Networks
The Hello World of Deep Learning with Neural Networks dlaicourse/Course 1 - Part 2 - Lesson 2 - Notebook.ipynb at master · lmoroney/dlaicourse (github ......
C++11 error: unable to find string literal operator 'operator"
一个简单的宏 #define LOG_INFORMATION(x, ...) LOG_ME("%s:%d, "x, __FUNCTION__,__LINE__, ##__VA_ARGS__) 一直都可以正常编译,但是当启用C++11的时候,报告编译错误 C++ 11 Complier ErrorSh ......
The Design of Feedback Control Systems--Advanced Problems
AP10.1 A three-axis pick-and-place application requires the precise movement of a robotic arm in three-dimensional space, as shown in Figure AP10.1 fo ......
Caused by: io.debezium.DebeziumException: java.sql.SQLSyntaxErrorException: Access denied; you need (at least one of) the RELOAD privilege(s) for this operation
1.情景展示 如上图所示: 在使用debezium读取mysql数据操作日志时(io.debezium.connector.mysql.MySqlConnector),报错: Caused by: io.debezium.DebeziumException: java.sql.SQLSyntaxEr ......
记录一次生产环境因磁盘空间不足驱逐pod造成pod重建The node had condition: [DiskPressure]
#记录一次生产报The node had condition: [DiskPressure]造成pod无限重启的监控不停的报警 #进入k8s的管理机检查发现msg的pod重启重建pod多次 [root@VM_248_6_centos ~]# kubectl get pod -n cms-v2-pro ......
Save the Fish
Save the Fish is a challenging and fun casual puzzle game. In the game, you will play as a brave adventurer, helping the cute little fish solve the wa ......
The 2023 ICPC Asia Hefei Regional Contest
目录写在前面赛时FEJGC补题写在最后 写在前面 赛时题目按照过题顺序排序,赛后补题按照个人向难度排序。 省流版:要寄了吗?没寄。 赛时 F 开局我正开,过了五分钟发现已经有人手刹了 F 了,几分钟之内大屏幕上一车提交,看了一下发现是超级签到于是 Nebulyu 上机开写。冲完之后发现 T 了??? ......
Multivariate time series classification pytorch lstm
import torch import torch.nn as nn import torch.optim as optim import numpy as np from sklearn.model_selection import train_test_split # 生成示例数据 np.ran ......
手把手教会你--渗透实战--Hack The Box-Starting Point-Meow--持续更新
@目录前言1.1 一次注册正确的注册过程1.2 讲讲我在注册过程中遇到的两个问题(1)点击REGISTER后无反应(2)提示Error! reCaptcha validation failed 前言 请务必跟着博主复现一遍 1.1 一次注册正确的注册过程 不用讲科学会上网也可以访问到这个页面,但是后 ......
ICPC2022Xian E Find Maximum 题解
Link ICPC2022Xian E Find Maximum Question 定义 \(f(x)\) 求 Solution 通过打表我们可以发现 \(f(x)\) 表示三进制表达中有效位数与数码和之和 接下来考虑如何获得最大的 \(f(x)\) 贪心的去考虑,假设答案为 \(Ans\),\(( ......
linux - find 查找文件
1. -name 在当前目录以及子目录中根据文件名进行查找 find -name "apt.md" 2. -iname 忽略大小写进行查找 find -iname "apt.md" 3. -mindepth, -maxdepth 设置从根目录下查找的目录层级 find / -mindepth 3 - ......
[ARC168E] Subsegments with Large Sums
题目链接 看到严格选 \(k\) 个,不难想到 WQS二分。定义 \(f(x)\) 为分成 \(x\) 段,最多有多少个超过 \(S\) 的。然后你会发现他不是凸的。因为他有很多平段,比如把两个很小的合并不改变答案。 换个方向? 考虑定义 \(f(x)\) 为有 \(x\) 个超过 \(S\) 的段 ......
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/llama-2-7b-chat-hf-chinese/1.1'. Use `repo_type` argument if needed.
问题: 2023-11-26 07:45:38 | ERROR | stderr | raise HFValidationError(2023-11-26 07:45:38 | ERROR | stderr | huggingface_hub.utils._validators.HFValidati ......
pip install报错"Can't connect to HTTPS URL because the SSL module is not available"
pip时install报错 一、故障现象 [root@jenkins /data/package/openssl-1.1.1n]# pip3 install emoji WARNING: pip is configured with locations that require TLS/SSL, h ......
Introducing the kafka producer
Introduction As we saw in the previous sections, I think we have some basic information about the kafka producers, today, let me dig in this concept. ......
[ARC168E] Subsegments with Large Sums
有点意思的简单题。 答案有可二分性。合并两段,显然仍然合法。 考虑如何 check。因为答案可以被二分,我们尝试求恰好 \(x\) 段就行了。 恰好,这是 wqs 二分的内容。如何设计一个与 \(x\) 有关的凸函数呢? 这个函数大概是 \(\sum_{i=1}^x w(l_i, r_i)\) 的形 ......
office the language DLL 'VBE7INTL.DLL' is not be found
其实是缺少vba,安装组件就可以了 解决方案:在卸载程序的面板中,找到office,右键选择更改,选择添加或删除功能,勾选如下两项就可以了 记得关掉office后再打开就好了 ......
#G.石老板含笑九泉 sol-基数排序,meet in the middle
#G.石老板含笑九泉 sol-基数排序,meet in the middle 数字 \(4\) 代表着一种邪恶力量,现在定义一个团队的邪恶力量为他们罪恶程度之和的十进制表示中 \(4\) 的个数。 那么问题来了,在这 \(n\) 个人的所有 \(2^n\) 个子集中,邪恶力量之和为多少。 \(1 \ ......
Dark Side Of The Moon Is More Luminous
Day -???? (2022/11/26) 一切都结束了 Day -??? (2023/4/1) 我做了一个一模一样的梦 Day -?? (2023/7/26) 我至少有一个月不会再做梦了 Day -? (2023/9/29) 我又开始仰望月亮了 Day -3 (2023/11/15) 我跌入了水 ......
[ARC117E] Zero-Sum Ranges 2题解
题解 前言 个人认为官方题解写得最为详细、干净、清楚,如果有意向阅读外文版的题解的话,还是推荐去读一读: Editorial - AtCoder Regular Contest 117 本文属于转载(?),有一些自己的思考过程,希望有帮助。 题意 有多少个长度为 \(2N\) 的序列 \(A\) 满 ......
CF685E Travelling Through the Snow Queen's Kingdom
题意 给定一张图,走出当前边的时间为 \(i\)。 \(q\) 次询问,问 \(s\) 是否能在 \(l \to r\) 中走到 \(t\)。 Sol 考虑将边从大到小插入图中。 注意到当前边只能对起点造成贡献。 复杂度 \(O(n \times \max\{n, m\})\) Code #incl ......
Top 10 Strong Earthquakes in the World
Chile Earthquake (M=9.5) in 1960 in minutes put more 2 millions people in lost live or homes Alaska Earthquake (M= 9.2) in 1964 Russian Earthquake (M= ......