摘要:
裸的KM吧。 1 #include 2 #include 3 #include 4 #include 5 #define maxn 105 6 #define INF 1 G[maxn]; 11 int W[maxn][maxn],n; 12 int Lx[maxn],Ly[maxn]; 13 int left[maxn]; 14 bool S[maxn],T[maxn]; 15 16 void init(int n) 17 { 18 this->n = n; 19 for(int i = 0... 阅读全文
posted @ 2013-11-05 14:49
浙西贫农
阅读(216)
评论(0)
推荐(0)
摘要:
敲完此题我在想,或许我的智商不适合再搞下去了。。题意:有一组OX序列(长度 2 #include 3 using namespace std; 4 5 int main() 6 { 7 double ans = 0.0,pre = 0.0,now; 8 int n; 9 cin>>n;10 while(n--){11 cin>>now;12 pre *= now;13 ans += 2*pre+now;14 pre += now;15 }16 cout<<fixed<<setpr... 阅读全文
posted @ 2013-11-05 10:52
浙西贫农
阅读(432)
评论(1)
推荐(0)