03 2022 档案
摘要:
DFS 剪枝 《算法竞赛进阶指南》
阅读全文

摘要:
重力加速度g的计算
阅读全文

摘要:
大学物理实验1 不想手算的我干脆操起老本行 自制误差分析——不确定度评估板子 展示一下输出: ##代码 #include <iostream> #include <algorithm> #include <cmath> #define pi 3.141593 using namespace std;
阅读全文

摘要:P4555 [国家集训队]最长双回文串 题源:https://www.luogu.com.cn/problem/P4555 原理:Manacher 还真比KMP好理解 解决最长回文串问题 转化为长度为奇数的回文串 原串长度 = 新串长度半径 - 1 1. 转化:首位加不同字符,中间加 # (图片源自
阅读全文
摘要:
失败的一场周赛QAQ
简单位运算 模拟推公式 树状数组 + 离散化 + 二分
阅读全文

摘要:
B - Minor Reduction
我的做法可能太绕了,特判了好多个。
但是辛辛苦苦调了好久的代码,码了好久的字啊www
阅读全文

摘要:
A - Equidistant Letters
虽然这个世界上不会有人犯这个错误,但我还是要说一下,记录我的弱智行为,就是我把26个字母记成了24个,所以WA了QAQ
阅读全文

摘要:
B. GCD Arrays
get新的小知识~
统计一段区间内的奇数个数: (r−l+1)−(r/2−(l−1)/2)
阅读全文

阅读目录(Content)
此页目录为空