07 2015 档案
求矩阵的模n^3logn
摘要:#include #include #include #include using namespace std;typedef __int64 lld;const int MOD = 998244353;const int N = 20;struct Mat { lld a[N][N]; ... 阅读全文
posted @ 2015-07-27 20:09 ACMood 阅读(174) 评论(0) 推荐(0)
FFT模板
摘要:#include #include #include #include using namespace std;typedef long long ll;const double pi = acos(-1.0);const int maxn = 50000 + 5;const double eps ... 阅读全文
posted @ 2015-07-20 14:18 ACMood 阅读(123) 评论(0) 推荐(0)
hdu 4868 树分治
摘要:#include#include#include#include#include#includeusing namespace std;const int M = 60005;struct Edge{ int v, next, w;}edge[M mp;int E, head[M], hh[... 阅读全文
posted @ 2015-07-05 11:02 ACMood 阅读(139) 评论(0) 推荐(0)