07 2015 档案
摘要:大小只有10k左右....并不是很全....里面有手打的modint,bitset和hashmap(O(1)清空..)```cpp#include #include #include #define fon(i,s) for(int i=0;it; --i)#define fdxe(i,f,t...
阅读全文
摘要:#解线性同余方程组##CRT不说了.```cppstruct CRT{ ll de[crtn],nn[crtn];//product of de should be within range() inline ll operator()(int n){ ll M=1,ans=0; fon(i,n...
阅读全文
摘要:Mob Psycho 100 OPM GIS SAC 未完成 GIS SAC 2nd GIG 准备看 PlanetES
阅读全文
摘要:开坑...最近要把朱熹树写一下,就开个大坑来记录我的脑洞吧> query;#define input classofint N,M;fon(i,N) seq[i]; ' 'fon(i,M) query[i]; '\n'#define endinput endclassof```##输出```cpp...
阅读全文
摘要:#Lucas的数论##reference[题目在这里> #include #include #include #include #include #include #include #define fon(i,n) for(int i=0;i5000000) break; isk[k]=1...
阅读全文
摘要:#Lucas的数论(math)##题目描述去年的今日,Lucas仍然是一个热爱数学的孩子.(现在已经变成业界毒瘤了> ans;```##输入样例```markdown2```##输出样例```markdown8```##数据范围* 10% $n\leq 20$* 30% $n\leq 5000$*...
阅读全文
摘要:#FFT##Complex```cppstruct complex{ double re,im; complex(double r,double i){re=r,im=i;} complex(){re=0.0,im=0.0;} complex operator+(complex b){return ...
阅读全文
摘要:文章主要结构来自[(文章?)](http://www.cs.upc.edu/~valiente/graph-00-01-c.pdf)#树的同构与相关问题 (Tree Isomorphism and Related Problems)原文架构:* 树同构* 子树同构* 最大公共子图* 并图(small...
阅读全文
摘要:看看有没有wrapper...* list first* list second* list third* list fourth * list in list 1 * list list list > < * list in list 2
阅读全文

浙公网安备 33010602011771号