随笔分类 - 合集
摘要:https://www.luogu.com.cn/problem/P1932 待补:压位高精,多项式除法优化除法、取模 高精度除可以钦定选取前几位后再进行除法(也许常数略小?) Luogu1932 A+B A-B A*B A/B A%B Problem 高精度合集(NTT优化乘法,vector,带低
阅读全文
摘要:https://www.luogu.com.cn/problem/P1177 排序 快速排序(\(QuickSort\)) #include<iostream> #include<cstdio> #include<algorithm> #define N 100005 using namespace
阅读全文
摘要:https://www.luogu.com.cn/problem/P1932 高精度合集(朴素) 高精度合集(NTT优化乘法) 高精度合集(vector) 高精度合集(vector,带低精) 待补:压位高精,多项式除法优化除法、取模 高精度除可以钦定选取前几位后再进行除法(也许常数略小?) Luog
阅读全文
摘要:建议使用此版本 https://www.luogu.com.cn/problem/P1932 高精度合集(朴素) 高精度合集(NTT优化乘法) 高精度合集(vector) 高精度合集(vector,带低精) 待补:压位高精,多项式除法优化除法、取模 Luogu1932 A+B A-B A*B A/B
阅读全文
摘要:https://www.luogu.com.cn/problem/P1932 高精度合集(朴素) 高精度合集(NTT优化乘法) 高精度合集(vector) 高精度合集(vector,带低精) 待补:压位高精,多项式除法优化除法、取模 Luogu1932 A+B A-B A*B A/B A%B Pro
阅读全文
摘要:https://www.luogu.com.cn/problem/P3369 \(fhq\_treap\) #include<bits/stdc++.h> #define N 100005 using namespace std; struct node { int v,sz,ls,rs,rk; }
阅读全文

浙公网安备 33010602011771号