不等式 糖水note

Kotlin Notes - 5

In Kotlin, the type system distinguishes between references that can hold null (nullable references) and those that cannot (non-nullable references). ......
Kotlin Notes

fps-bp-notes

FPS Blueprint notes Subtitle: Youtube 上的 FPS UE 项目笔记 Created: 2023-11-14T21:55+08:00 Published: 2023-11-24T16:54+08:00 Categories: UnrealEngine Creati ......
fps-bp-notes notes fps bp

[Notes] Mac安装多版本Java并切换

通过 /usr/libexec/java_home -V 查询mac中存在哪些版本的java. 前往https://www.oracle.com/java/technologies/downloads/archive/下载各版本的java。 例如JDK8的具体下载链接为:https://www.or ......
版本 Notes Java Mac

Kotlin Notes - 4

A higher-order function is a function that takes functions as parameters, or returns a function. fun <T, R> Collection<T>.fold( initial: R, combine: ( ......
Kotlin Notes

[题解]CF1899D Yarik and Musical Notes

思路 暴力化简公式题。 假定 \(b_{i}^{b_j} = b_{j}^{b_{i}}\) 成立,那么有: \[2^{a_i \times 2^{a_j}} = 2^{a_j \times 2^{a_i}}\\ a_i \times 2^{a_j} = a_j \times 2^{a_i}\\ \ ......
题解 Musical 1899D Yarik Notes

一道关于位运算的O(1)解法(位运算、集合论、均值不等式)

题目: 给你三个整数 a ,b 和 n ,请你返回 (a XOR x) * (b XOR x) 的 最大值 且 x 需要满足 0 <= x < 2n。 由于答案可能会很大,返回它对 109 + 7 取余 后的结果。 注意,XOR 是按位异或操作。 题解: XOR的定义:对于两个二进制位,如果相同则结 ......
集合论 均值 不等式 解法 一道

Chain-Of-Note:解决噪声数据、不相关文档和域外场景来改进RAG的表现

CoN要点 CoN框架由三种不同的类型组成,研究称之为阅读笔记。 上面的图像,类型(A)显示了检索到的数据或文档回答查询的位置。LLM仅使用NLG从提供的数据中格式化答案。 https://avoid.overfit.cn/post/1a108bbaf6c84b5fbc51554fefa222cd ......
噪声 Chain-Of-Note 场景 文档 数据

「Note」CF 套题

散题 \(\color{royalblue}{CF840B}\) 神秘题,其实很显著,但没切出来。 考虑无解情况,因为无向边只能带来偶数个度数,所以总度数为奇数且无限制为 \(-1\) 的点时无解(因为有 \(-1\) 就可以调整为偶数)。可以证明在总度数为偶数时一定有解: 首先应该注意到总图连通, ......
Note

Kotlin Notes - 3

Function parameters can have default values, which are used when you skip the corresponding argument. This reduces the number of overloads: fun read( ......
Kotlin Notes

CF1899 D Yarik and Musical Notes 题解

Link CF1899 D Yarik and Musical Notes Question 给出一个序列 \(a\) ,我们定义 \(b_i=2^{a_i}\) 求 \(b_i^{b_j}=b_j^{b_i} (i<j)\) 的个数 Solution 考虑化简式子 \[\begin{aligned ......
题解 Musical Yarik Notes 1899

P5482 [JLOI2011] 不等式组

P5482 [JLOI2011] 不等式组 这道题比板子还是难不少,因为有大量的分类讨论。 看到题就可以考虑平衡树了。 \(ax+b>c\iff ax>c-b\),根据不等式乘除法的变号规则分类。 \(a>0\),不等号方向不变,\(x>\dfrac{c-b}{a}\)。 \(a<0\),不等号方向 ......
不等式 P5482 5482 2011 JLOI

Human brain is awesome! (Transcripting notes and Practice my English writing

Copying may be valuable for learning math (see the story of Kunihiko Kodaira for more details), but always remember to copy with your heart - with you ......

Kotlin Notes - 2

Properties in Kotlin classes can be declared either as mutable, using the var keyword, or as read-only, using the val keyword. // full syntax for decl ......
Kotlin Notes

Kotlin Notes - 1

A class in Kotlin has a primary constructor and possibly one or more secondary constructors. // primary constructor class Person(val name: String) { v ......
Kotlin Notes

关于解数论不等式

今天在群里又看到了经典的数论不等式:\(\min x, s.t. L \le ax \bmod b \le R\)。以及杜岩旭问这个是不是等价于 \(\min at \bmod b, t \in [L, R]\)。实际上当然是等价的。首先我们可以胡乱处理一下令 \(a \perp b\),无论在哪个 ......
数论 不等式

凸优化 | Lagrange 对偶:极大极小不等式的证明

背景: Lagrange 对偶:对于优化问题 \[\begin{aligned} &\mathrm{minimize} ~~ &f_0(x) \\ &\mathrm{subject ~ to} ~~ &f_i(x)\le 0, ~~ h_j(x)=0 \end{aligned} \] 可以建立其 L ......
不等式 对偶 Lagrange

神经网络基础篇:关于 python_numpy 向量的说明(A note on python or numpy vectors)

关于 python_numpy 向量的说明 主要讲Python中的numpy一维数组的特性,以及与行向量或列向量的区别。并说一下在实际应用中的一些小技巧,去避免在coding中由于这些特性而导致的bug Python的特性允许使用广播(broadcasting)功能,这是Python的numpy程序 ......

【学习笔记】决策单调性与四边形不等式

Itst - 决策单调性与四边形不等式 学习笔记。 这方面是真的一点不会啊。学点东西吧 apj。 约定 对于 \(n \times m\) 的矩阵 \(A\),定义: 子矩阵 \(A_{[i_1, i_2, \cdots, i_k],[j_1, j_2, \cdots, j_l]}\) 为矩阵 \( ......
四边形 不等式 四边 笔记

「Note」CF 杂题集 6

前言 难度:CF 2600-2700(有一道是 2500) 别问我为啥没有 1 到 5。 \(\color{blueviolet}{CF1473F}\) 此题是坏题,他卡你空间。 每一个元素有选或不选两种状态,并且有依赖项,元素的贡献有正负,数据范围不大,可以自然联系到最大权闭合子图,采用最小割模型 ......
Note

module2 review note

Module 2 The HtDF recipe consists of the following steps: Step 1: Write the stub, including signature and purpose Step 2: Define examples Step 3: Writ ......
module2 module review note

JGoodies Usage Notes

导包、设置 导入包: <dependency> <groupId>com.jgoodies</groupId> <artifactId>forms</artifactId> <version>1.2.1</version> </dependency> idea里面布局切换一下: 行列规范解释 他是一 ......
JGoodies Usage Notes

Magenta之note-seq

Magenta 中的所有内容都以 NoteSequences 为中心。这是一系列音符的抽象表示,每个音符都有不同的音高、乐器和敲击速度,很像 [MIDI](https://mp.weixin.qq.com/s/6CGlmhv1SE4bKpdWYvgxUw)。 下面就是一个 NoteSequence ......
note-seq Magenta note seq

Burp Suite Extend APIs Notes

Brup插件的开发,大体流程就是通过在自己创建的BurpExtender类上实现不同功能接口。 所以,你想要开发出什么功能,就去找一下Burp上能提供什么接口,然后实现这个接口所需的方法即可。 想要快速的开发的Burp插件、了解一下它的APIs是有必要的。下面我将梳理一下它提供出来的APIs。 to ......
Extend Suite Notes Burp APIs

802.11ax协议notes

不论上行MUMIMO(HE TB PPDU)还是下行MUMIMO(HE MU PPDU),HE-LTF符号数都是由所有用户的总流数决定的。因此对于AP,上行无异于一个大的SU MIMO;下行,协议建议每个STA用上所有用户的信道信息来减少干扰。 HE-LTF模式:单流导频模式、多流导频模式(mask ......
802.11 notes 802 11 ax

Docker note

1.1 Docker服务相关命令 启动dockers服务: systemctl start docker 停止dockers服务: systemctl stop docker 重启dockers服务: systemctl restart docker 查看dockers服务状态: systemctl ......
Docker note

三道关于数列的不等式

第一道:证明\(\sum_{i=2}^n (\frac{1}{2n})^n<\frac{1}{\sqrt{e}(e-1)}\) \((\frac{1}{2n})^n=e^{n\ln \frac{1}{2n}}<e^{n(\frac{1}{2n})-1}=e^{\frac{1}{2}-n}\) \(\ ......
不等式 数列

组合数恒等式

\(1.C_{n}^m=C_{n}^{n-m}\) \(2.C_{n}^m+C_{n}^{m-1}=C_{n+1}^m\) \(3.C_n^{m+1}+C_{n}^{m-1}+2C_{n}^m=C_{n+2}^{m+1}\) \(4.C_{n}^0C_m^r+C_{n}^1C_{m}^{r-1}.. ......
恒等式

二次函数、方程和不等式思维导图 | 高一新教材

前言 使用方法:如果想得到更好的显示效果,可以点击全屏按钮,已经实现电脑端、手机端的适配,效果很好;电视端没有实现适配,Ipad端的适配没有测试; 思维导图 [全屏/Esc] ......
不等式 方程 高一 函数 思维

[扫盲]市面常见处理器体系架构等式

x86 = x86-32 = i386 = ia32 ia32 全称 Intel Architecture, 32-bit 指令集。 x86-64 = x64 = amd64 = intel64 x86, amd 归属 CISC(复杂指令集, Complex Instruction Set Comp ......
等式 市面 架构 处理器 体系

note 信竞中的数学

1.质数和约数 质数: 若一个正整数无法被除了 \(1\) 和它本身之外的任何自然数整除,则称该数为质数。 质数的判定: 试除法 Miller-Robbin Eratosthenes筛法 每个合数 \(a\) 一定可以写成 \(p\times x\) 的形式,其中 \(p\) 是素数,\(x\) 是 ......
数学 note
共300篇  :2/10页 首页上一页2下一页尾页