摘要: 阅读全文
posted @ 2012-07-08 20:29 lenohoo 阅读(2233) 评论(0) 推荐(0) 编辑
摘要: 流体阻力:F=-kv 阅读全文
posted @ 2012-07-08 10:42 lenohoo 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 题意:一开始有n个点m条边,后来每次加一条边,求加上这一条边后途中有几座“桥”。分析:双连通分量View Code #include<cstdio>#include<cstring>#include<iostream>#include<algorithm>using namespace std;#define maxn 100010struct Edge{ int u,v,next; int vis;}edge[1000005];int head[maxn];int E=0;void addedge(int u,int v){ edge[E].u 阅读全文
posted @ 2012-07-08 03:10 lenohoo 阅读(232) 评论(0) 推荐(0) 编辑