configured for running network

PAT 甲级:1002 A+B for Polynomials,测试点说明

1002 A+B for Polynomials 25分 题解:(类似于把两个多项式合并同类项:指数相同的项把系数相加),最后输出新多项式的项数、各项。 需要注意的测试点: 1.输出的新项格式要与输入的一致:[项数] [指数1] [系数1] [指数2] [系数2] ...;且指数递减 2.指数是整型 ......
甲级 Polynomials 1002 PAT for

论文阅读:iterator zero-shot llm prompting for knowledge graph construction

Abstract 知识图谱,一种相互连接和可解释的结构。 生成需要更多的人力、领域知识、并需要适用于不同的应用领域。 本论文提出借助LLM,通过0-shot和外部知识不可知的情况下生成知识图谱。 主要贡献: 迭代的prompting提取最终图的相关部分 0-shot,不需要examples 一个可扩 ......

解决No matching distribution found for cv2的问题

引入CV2时报如下错 ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none) ERROR: No matching distribution found for cv2 产生原因 ......
distribution matching 问题 found cv2

CodeForces 814E An unavoidable detour for home 题解

更好的阅读体验 题意 题目链接 (洛谷翻译) 给出 \(n\) 个点,和每个点的度 \(d_i\) 让你构造出一张无向图满足以下两条性质: 点 \(1\) 到点 \(i\) 仅有 唯一 一条最短路。 点 \(1\) 到点 \(i\) 的最短路长度大于等于点 \(1\) 到点 \(i-1\) 的最短路 ......
题解 unavoidable CodeForces detour 814E

Density-invariant Features for Distant Point Cloud Registration论文阅读

Density-invariant Features for Distant Point Cloud Registration 2023 ICCV *Quan Liu, Hongzi Zhu, Yunsong Zhou, Hongyang Li, Shan Chang, Minyi Guo*; Pr ......

利用不可识别的人脸来增强人脸识别性能Harnessing Unrecognizable Faces for Improving Face Recognition

灰色标记:可以日后引用的观点 红色标记:好的写法、语句、单词 紫色标记:文章重点 黄色标记:寻常突出 文章评论:: 创新点:: 主要内容:: gallery中的样本通常是人为采集并精心挑选的,它们具有较好的可识别性;然而,query通常来自于真实场景,它们受多种因素干扰如像素等等。 针对“检测器能检 ......

Educational Codeforces Round 155 (Rated for Div. 2)

\(A. Rigged!\) 直接取第一个人能举起的最大重量看他是否是冠军即可。 void solve(){ int n=read(); int fx=read(),ft=read(); int ans=fx; for(int i=1;i<n;i++){ int x=read(),t=read(); ......
Educational Codeforces Round Rated 155

Configure oh my zsh

apt install zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" REF: https://github.com/ohmyzsh/ohmyzs ......
Configure zsh oh my

kvm笔记2-network filtering

过滤规则 ......
filtering network 笔记 kvm

Bash-循环(for/while/until)

for语法一 for 变量 in 值1 值2 值3 do 程序 done 例子1:打印1-5 例子2:批量解压缩脚本 for语法二 for((初始值;循环控制条件;变量变化)) do 程序 done 例子1:打印1+到100的sum值 例子2:批量添加用户 while语法 while [ 条件判断式 ......
while until Bash for

Educational Codeforces Round 112 (Rated for Div. 2) A. PizzaForces

有三种披萨:\(6\)、\(8\)、\(10\) 块披萨。制作时间分别需要:\(15\)、\(20\)、\(25\) 分钟。现在有 \(n\) 个人,每人需要一块披萨。询问使所有人能获得披萨的最快时间。 观察:发现三种披萨的性价比都一样。(否则按最优性价比贪心) 需要让得到的披萨数量 \(m \ge ......

sqlalchemy报错TypeError: __init__() got multiple values for argument 'schema'

使用sqlalchemy读取数据库时抛出异常 TypeError: __init__() got multiple values for argument 'schema' ①似乎SQLAlchemy的版本2.0.0(2023年1月26日发布)与pandas的早期版本不兼容。 建议升级pandas版 ......

[SpringBoot 1] 自动装配和Run方法

SpringBoot 1 阶段: 1 SpringBoot 自动装配 build.gradle 中放依赖核心依赖, 有很多启动器(spring-boot-start-xxx) @SpringBootApplication @SpringBootConfiguration @Configuration ......
SpringBoot 方法 Run

Can't delete myfile.mexw64 after run mexw64?

I found my answer, this ".mexw64" cannot be deleted after using clear , but can be deleted after using clear all from https://www.mathworks.com/matlab ......
mexw delete myfile after 64

TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' [duplicate]

str | None syntax is only supported in 3.10 or later. Use from typing import Optional name: Optional[str] = None For cases where the right hand side i ......
39 type unsupported TypeError duplicate

Educational Codeforces Round 155 (Rated for Div

B. Chips on the Board 题解:贪心 显然我们可以把题意转化为:对于任意一个\((i,j)\),我们可以花费\(a_{i,j}\)的代价占据第\(i\)行和第\(j\)列,求占据所有格子的最小代价 考虑两种情况: 在每一行选一个格子 在每一列选一个格子 贪心选即可 int n, a ......
Educational Codeforces Round Rated 155

Educational Codeforces Round 122 (Rated for Div. 2)

A. Div. 7 #include<bits/stdc++.h> using namespace std; void solve(){ int n , a , b , c ; cin >> n; c = n % 10 , n /= 10; b = n % 10 , n /= 10; a = n % ......
Educational Codeforces Round Rated 122

解决Android studio 更新到2022.3版本后,一直卡在waiting for target device to come online

解决Android studio更新到2022.3.1 patch 1之后卡在waiting for target device to come online的问题 1.现象 在发布一个app的时候,每次走到waiting for all target devices to come online之 ......
Android waiting 版本 2022.3 studio

Kubernetes 无法join:[ERROR CRI]: container runtime is not running:

Kubernetes初始化成功,然后将node加入,结果报错: [root@k8s-node1 ~]# kubeadm join 10.10.10.185:6443 --token 84pas2.ifxb6o8g7h2abg28 --discovery-token-ca-cert-hash sha2 ......
Kubernetes container runtime running ERROR

kernel:watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [pgrep:33099] kernel:watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [pidof:33116]故障处理

一、查看报错翻译 二、检查操作 一台虚拟机又kvm虚拟了5台虚拟机,并且跑了大量任务,感觉像负载过大,CPU扛不住导致,导致内核锁死。 三、解决办法 执行echo 30 > /proc/sys/kernel/watchdog_thresh,调整该值可以延长watchdog等待时间,最大为60s。 ......
watchdog kernel lockup stuck soft

Educational Codeforces Round 155 (Rated for Div. 2)

Preface 这天晚上这场因为不明原因(玩CCLCC中)就没有打,只能赛后补一下 这场的EF都不算难初看都有做法,但好家伙E写挂两发,F写个根号做法直接T到天上去了 A. Rigged! 签到题,对于所有的\(e_i\ge e_1\)的\(i\),求出\(S=\max s_i\),根据\(S+1\ ......
Educational Codeforces Round Rated 155

Virtual memory running out when there are free physical memory?

Virtual memory running out when there are free physical memory? Ask Question Asked 7 years, 8 months ago Modified 7 years, 8 months ago Viewed 1k time ......
memory physical Virtual running there

Windows: run all program as administrator

pgedit.msc secpol.msc 当然如果如果是家庭版用户没有组策略是无法像上述一样操作的,我们可以打开注册表编辑器(运行regedit),展开注册表到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policie ......
administrator Windows program run all

CF1197 Educational Codeforces Round 69 (Rated for Div. 2)

CF1197A DIY Wooden Ladder 答案为 \(\min(a_{n-1},n-2)\)。 #include<iostream> #include<cstdio> #include<algorithm> using namespace std; const int N=100005; ......
Educational Codeforces Round Rated 1197

CF1036 Educational Codeforces Round 50 (Rated for Div. 2)

CF1036A Function Height 答案为 \(\lceil \frac{k}{n}\rceil\)。 #include<iostream> #include<cstdio> using namespace std; long long n,k; int main() { scanf(" ......
Educational Codeforces Round Rated 1036

itext7.pdfhtml For C#

最近发现 itext7 (前身为iTextSharp) 下有个 https://github.com/itext/i7n-pdfhtml 的项目可以支持html转PDF 下面是官方电子书的翻译内容,原文地址:Chapter 1: Hello HTML to PDF 第 1 章:你好 HTML 到 P ......
pdfhtml itext7 itext For

javaSE基础03(if,switch,while,for,方法)

选择结构 if选择结构 if --> else if -->else 一定要以else结尾; 只执行一段代码块,有一个成功了就停止运行; 尽量避免条件重复判断,就算只有一行代码也要写大括号; int age= scan.nextInt(); if (age>=100) { System.out.pr ......
基础 方法 javaSE switch while

Docker|--E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

错误 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them ......
gnupg installed operation required Docker

Go - Live reload of configurations

main.go: package main import ( "encoding/json" "fmt" "log" "os" "time" "github.com/fsnotify/fsnotify" ) type config struct { Name string `json:"name"` ......
configurations reload Live Go of

Linux2.1.13网络源代码学习(https://qiankunli.github.io/2022/07/04/linux_2_1_13_network.html)

简介 简介 源码目录 网络分层 数据结构 套接字 套接字与vfs sk_buff结构 网络协议栈实现——数据struct 和 协议struct linux1.2.13 接收数据 收到数据包的几种情况 Socket 读取 发送数据 面向过程/对象/ioc 以下来自linux1.2.13源码,算是参见L ......
源代码 qiankunli network Linux2 github