摘要: /*This Code is Submitted by billforum for Problem 4000125 at 2012-02-12 18:42:46*/#include <stdio.h>#include <iostream>#include <memory.h>using namespace std;const int N=102;bool f[N];int pre[N];double v[N],p[N][N];int n,m;void init(){ int p1,p2,pro; memset(f,0,sizeof(f)); memse... 阅读全文
posted @ 2012-02-12 19:04 wuzhibin 阅读(166) 评论(0) 推荐(0)
摘要: /*This Code is Submitted by billforum for Problem 1564 at 2012-02-11 22:11:42*/#include <stdio.h> #include <iostream> using namespace std; const int N=30003;int rt[N+5],rank[N+5],suspect[N+5];void init(){ for(int i=0;i<=N;i++) { rt[i]=i; rank[i]=1; ... 阅读全文
posted @ 2012-02-12 19:02 wuzhibin 阅读(153) 评论(0) 推荐(0)