12 2020 档案
摘要:题目 大整数开方,求整数部分, 分析 二分即可 然后是高精基操 #include<cstdio> #include<cstring> #include<iostream> using namespace std; char s[10005
阅读全文
摘要:题目 分析 由大题目知此题分块 注意处理前驱下标的合法性 #include<cstdio> #include<cmath> #include<algorithm> using namespace std; const int N = 1e5 + 5; int n, a[N], t[
阅读全文
摘要:题目 网上搜 分析 我们可以认为插入一本书是在树中第 的位置进行插入操作 其中 为这本放入书架后的位置 考虑 实现 我们将书编号为 那么如果插入的书的位置为 ,实际上是在树中位置为 将前
阅读全文