04 2022 档案

摘要:最长子串 传送门 让01,1k,做一次前缀和,原题转化成求最远的两个点,使他们的差为0。排序一边即可。 code: #include <bits/stdc++.h> using namespace std; long long n, k, 阅读全文
posted @ 2022-04-30 13:47 ZQYang 阅读(31) 评论(0) 推荐(0) 编辑
摘要:# 4.26 - ongoing 不间断的- crises 危机- initiative 倡议- cliche 陈词滥调- soar 翱翔- account for 对...负有责任- conflict 冲突- phase 阶段- declaration 宣告- famine 饥荒- unrest 阅读全文
posted @ 2022-04-26 15:50 ZQYang 阅读(28) 评论(0) 推荐(0) 编辑
摘要:辛普森积分法 设f(x)是关于x的二次函数,我们假设f(x)=Ax^2+Bx+C,那么我们有 abf(x)dx=ba6[f(a)+4f(a+b2)+f(b)] Proof: $$\begin{equ 阅读全文
posted @ 2022-04-23 20:47 ZQYang 阅读(92) 评论(0) 推荐(0) 编辑
摘要:读后续写 阅读全文
posted @ 2022-04-15 14:39 ZQYang 阅读(104) 评论(0) 推荐(0) 编辑
摘要:easy 阅读全文
posted @ 2022-04-15 13:58 ZQYang 阅读(33) 评论(0) 推荐(0) 编辑
摘要:二分+前缀和 阅读全文
posted @ 2022-04-14 19:26 ZQYang 阅读(24) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩