approximation theory method and

[ABC254E] Small d and k 题解

题目传送门 一道暴力题。 度数和 \(k\) 那么小?直接暴力 \(n\) 遍 bfs,注意 bfs 的队列只能 push 距离不超过 \(3\) 的点。但有个问题,每次 bfs 都需要清空一次距离数组,这样子的时间复杂度是 \(O(n^2)\) 的。但也不难想到,距离数组中被赋值的地方不会很多,记 ......
题解 Small 254E ABC 254

Multi-view Information Integration and Propagation for Occluded Person Re-identification

这篇从多视角这个思路出发,提出多视图信息集成模块,包括定位、量化和集成。 给定具有相同身份的多个图像,MVI2P:i)定位特征图中的空间辨别区域以过滤掉噪声信息。 ii)量化不同图像的显着性信息的相对重要性。 iii) 通过执行逐元素加法来集成多视图信息。 iv)通过知识蒸馏将多个图像隐含的综合信息 ......

Erasing, Transforming, and Noising Defense Network for Occluded Person Re-Identification

三个分支:擦除、转换、噪声 用来生成对抗性表征,模拟遮挡问题 对应信息丢失、位置错位和噪声信息 对抗性防御:思路是GAN网络,以对抗性的方式优化生成器和判别器 ......

【题解】Trees and XOR Queries Again - Codeforces 1902F

https://codeforces.com/contest/1902/problem/F 方法一 可以从树上路径想到轻重链剖分(也可以用其他种类的LCA算法),然后从数的异或表示很容易想到线性基。 然后因为是无修改的,所以可以轻重链剖分+ST表+线性基。具体来说就是: 先进行轻重链剖分。然后把每次 ......
题解 Codeforces Queries Trees Again

CF1833G Ksyusha and Chinchilla 题解

题意: 思路: 当 $ n \not \equiv 0 \space (mod \space 3) $ 时,无解; 当 $ n \equiv 0 \space (mod \space 3) $ 时,设 $ size_u $ 表示以 $ u $ 为根的子树还剩余的节点个数,自根节点向叶子节点递归,返回 ......
题解 Chinchilla Ksyusha 1833G 1833

2023ICCV_FSI Frequency and Spatial Interactive Learning for Image Restoration in Under-Display Cameras

三. Network 1. 2. FLB: 没看懂是怎么分离的水平和竖直方向 3. SLB:每一层保留一半的通道特征用于细化,其余的在特征重构后输出(没看懂)。 Multi-distillation Network 超分辨网络的Multi-distillation Network(2019ACMMM ......

Theory Of Computation

LN1 Alphabets and Strings An alphabet is a set of symbols String: a sequence of symbols from some alphabet Language: a set of strings Unary numbers al ......
Computation Theory Of

CF613D Kingdom and its Cities

题意 给定一棵树,每次询问给出 \(k\) 个点。 问最少删除多少个 节点 (不能删这 \(k\) 个点) 使得这 \(k\) 个点两两不连通。 Sol 无解的情况是 \(trivial\) 的。 判断是否有相邻的两个关键点就行了。 但是 \(dp\) 是不太 \(trivial\) 的。 设 \( ......
Kingdom Cities 613D 613 and

CF1901 C Add, Divide and Floor 题解

Link CF1901 C Add, Divide and Floor Question 给定一个长度为 \(n\) 的序列,每次操作你需要选择一个整数 \(x\) ,并将所有 \(a_i\) 替换为 \(\lfloor \frac{a_i+x}{2} \rfloor\) 。求至少多少次操作后能将所 ......
题解 Divide Floor 1901 Add

CF1902 C Insert and Equalize 题解

Link CF1902 C Insert and Equalize Question 有一个 \(n\) 个元素的数组 \(a\),每个元素都不一样 现在我们需要在 \(a\) 中添加一个数字 \(a_{n+1}\),和之前的元素都不一样 然后选择一个数 \(x\),可以在一个元素上加 \(x\), ......
题解 Equalize Insert 1902 and

springmvc的controller方法不指定method时可以GET或POST提交

springmvc的controller方法不指定method时可以GET或POST提交 在写controller的方法时 @RequestMapping("page") //@RequestMapping(value = "page", method = RequestMethod.GET) 写法 ......
controller springmvc 方法 method POST

Atcoder ABC235 D - Multiply and Rotate

[ABC235D] Multiply and Rotate 题面翻译 给定两个整数\(a\),\(x\)和\(N\),你可以对这两个数进行以下操作。 把\(x\)乘以\(a\) 将\(x\)末尾的数字移动到\(x\)的开头(该操作只能在\(x≥10\)且\(x\)不能被\(10\)整除时进行) 例如 ......
Multiply Atcoder Rotate ABC 235

Graph Neural Networks with Learnable and Optimal Polynomial Bases

目录概符号说明MotivationFavardGNN代码 Guo Y. and Wei Z. Graph neural networks with learnable and optimal polynomial bases. ICML, 2023. 概 自动学多项式基的谱图神经网络. 符号说明 \ ......
Polynomial Learnable Networks Optimal Neural

CF414C Mashmokh and Reverse Operation

\(\text{Links}\) cnblogs Luogu Codeforces 题意 给定一个长为 \(2^n\) \((n\le 20)\) 的序列 \(a\),有 \(m\) \((m\le 10^6)\) 次操作,每次操作给出 \(q\) \((q\le n)\),表示将序列从左至右按 \ ......
Operation Mashmokh Reverse 414C 414

Python报错:WARNING conda.models.version:get_matcher(542): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda.

参考: https://blog.csdn.net/weixin_45685859/article/details/132916216 报错: [23:59:14](pytorch) devil@OMEN:~$ [23:59:14](pytorch) deviconda install pytorc ......

CF1705E Mark and Professor Koro 题解

题意: 给定一个长度为 $ n $ $ (1 \le n \le 2e5) $ 的序列,每次可以把两个相等的 $ a_i $ 和 $ a_j $ 合并为一个 $ a_i + 1 $ 。给定 $ q $ $ (1 \le q \le 2e5) $ 次修改,每次将 $ a_k $ 修改为 $ l $ , ......
题解 Professor 1705E 1705 Mark

CF1896D Ones and Twos 题解

题意: 思路: 先考虑不带修: 如果长度为 $ n $ 的序列 $ a $ 中无 $ 1 $ ,当且仅当 $ 2 \le s \le sum(1,n) $ 时,一定有解;否则,一定无解。 通过 $ set $ 维护序列 $ a $ 中每个 $ 1 $ 的位置,找到最靠左的 $ 1 $ 的位置 $ l ......
题解 1896D 1896 Ones Twos

android开发aar包或者jar包出现类重复问题Caused by: java.lang.RuntimeException: Duplicate class found in modules xxx.aar and xxx.aar终极解决方法

如果是仓库依赖的方式直接使用exclude语句移除相同的依赖库即可,如下: implementation("org.java-websocket:Java-WebSocket:1.5.2") { exclude group: 'org.slf4j', module: 'slf4j-api' //ex ......
aar RuntimeException Duplicate xxx 终极

Leveraging Pre-trained Large Language Models to Construct and UtilizeWorld Models for Model-based Task Planning

0 Abstract 将LLM直接作为planner的方法实用性不足的几个原因:plan的正确率有限,严重依赖于feedback(与sim或者真实环境的交互),利用人类feedback的效率低下。 作者在两个IPC域和一个Household域证实了GPT-4可以用来生成高质量的PDDL模型(执行超过 ......

【AtCoder Beginner Contest 330)】[E - Mex and Update ] 线段树+二分

本题可以用线段树+二分的方式实现。代码如下: import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.io.StreamTokenizer; // Pr ......
线段 Beginner AtCoder Contest Update

[粘贴]Introducing Exadata X9M: Dramatically Faster, More Cost Effective, and Easier to Use

https://blogs.oracle.com/exadata/post/exadata-x9m The Exadata Product Management and Development teams are excited to announce the next generation of ......

salesforce零基础学习(一百三十四)State And Country/Territory Picklists启用后的趣事

本篇参考: https://help.salesforce.com/s/articleView?id=sf.admin_state_country_picklists_overview.htm&type=5 背景:提起 State And Country/Territory Picklist这个功能 ......

4Templates Bootstrap Navbars and Links

链接 传递参数 ......
4Templates Templates Bootstrap Navbars Links

深圳大学数据库实验一Database Command and SQL

一、实验目的: 了解DBMS系统的功能、软件组成; 2、掌握利用SQL语句定义、操纵数据库的方法。 二、实验要求: 1、在课外安装相关软件并浏览软件自带的帮助文件和功能菜单,了解DBMS的功能、结构; 2、创建一个有两个关系表的数据库; 3、数据库、关系表定义; 4、学习定义关系表的约束(主键、外键 ......
Database Command 数据库 数据 大学

CF1846E2 Rudolf and Snowflakes (hard version) 题解

题意: \(T\) \((\)\(1\) \(\le\) \(T\) \(\le\) \(10^4\)\()\) 组询问:是否存在一个满 \(k\) (\(k\) \(\ge\) \(2\)\()\) 叉树节点数恰好为 \(n\) \((\)\(1\) \(\le\) \(n\) \(\le\) \ ......
题解 Snowflakes version Rudolf 1846E

dns and forward proxy

forward proxy & reverse proxy https://zhuanlan.zhihu.com/p/163948996 https://netnut.io/forward-proxy-server/ Definition of a Forward Proxy Server One ......
forward proxy dns and

✂️ Copy and Paste Emoji Emoji 表情符号大全

✂️ Copy and 📋 Paste Emoji 👍 Emoji 表情符号大全 搬运自 https://getemoji.com/ 表情符号支持iOS, Android, macOS, Windows, Linux和ChromeOS。复制和粘贴表情符号Twitter, Facebook, Sl ......
Emoji 符号 表情 大全 Paste

llama-factory fine-tuning-3 (conception and technologies explanation)

train method supervised fine-tuning Reward Modeling PPO training DPO training full-parameter partial-parameter LoRA QLoRA command parameter fp16 gradi ......

Mysql - Error 1055: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'user.nickname' which is not functionally dependent on columns in GROUP BY clause

编写SQL时需要如下错误,即出现错误 ERROR 1055,SELECT列表不在GROUP BY语句内且存在不函数依赖GROUP BY语句的非聚合字段'edusassvc.u.nickname',这是和sql_mode=only_full_group_by不兼容的(即不支持)。 分析问题 1)原理层 ......

神经网络入门篇之深层神经网络:详解前向传播和反向传播(Forward and backward propagation)

深层神经网络(Deep L-layer neural network) 复习下前面的内容: 1.逻辑回归,结构如下图左边。一个隐藏层的神经网络,结构下图右边: 注意,神经网络的层数是这么定义的:从左到右,由0开始定义,比如上边右图,\({x}_{1}\)、\({x}_{2}\)、\({x}_{3}\ ......