摘要: ```cpp #define T 1001 #define S 0 struct Edge{ int nxt,pre,w; }e[500007]; int cntEdge,head[N]; inline void add(int u,int v,int w){ e[++cntEdge] = (Edge){head[u], v, w}, head[u] = cntEdge; } inline... 阅读全文
posted @ 2019-07-15 21:23 邱涵的秘密基地 阅读(153) 评论(0) 推荐(0) 编辑
摘要: ```cpp int n,m,tim; int mp[N][N], sum[N][N]; double ave,dp[N][N][N][N][N]; inline double DP(int a,int b,int c,int d,int t){ if(dp[a][b][c][d][t]) return dp[a][b][c][d][t]; if(t == 1) return sqr((do... 阅读全文
posted @ 2019-07-15 20:18 邱涵的秘密基地 阅读(225) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-07-15 15:59 邱涵的秘密基地 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 终末のcode A mater' s BIT... I do not understand at all... Just record it here anyway. 阅读全文
posted @ 2019-07-15 13:24 邱涵的秘密基地 阅读(162) 评论(0) 推荐(0) 编辑