摘要: ```cpp #include #include #include #include using namespace std; int n, m, uu, vv, dy[100005]; double dp[100015]; int main(){ while(scanf("%d %d", &n, &m)!=EOF){ if(!n && !m) break; memset(dp,... 阅读全文
posted @ 2018-01-07 21:40 poorpool 阅读(115) 评论(0) 推荐(0)
摘要: 讲解看 "这里" 交 C++ 阅读全文
posted @ 2018-01-07 21:17 poorpool 阅读(107) 评论(0) 推荐(0)
摘要: ```cpp include include include include using namespace std; int n, m, uu, vv, ww, a[105], cnt, hea[10005], gra[10005], siz[10005]; int tot, sze, rot; 阅读全文
posted @ 2018-01-07 20:04 poorpool 阅读(163) 评论(0) 推荐(0)
摘要: 点分治裸题 cpp include include using namespace std; int n, uu, vv, ww, ans, cnt, hea[20005], rot, gra[20005], sze, qwq[5]; int siz[20005], gcd; bool vis[20 阅读全文
posted @ 2018-01-07 20:02 poorpool 阅读(90) 评论(0) 推荐(0)