摘要: #include#include#include#include#include#includeusing namespace std;const int maxe = 50000;const int maxn = 17;const int INF = 0x3f3f3f;vector l[maxn];vector r[maxn];char s[maxn];inline int cal(int a,int b){ int ret = 0; for(int i=a;i=2;i--){ for(int j=N+1;j>i;j--){ ... 阅读全文
posted @ 2013-09-06 19:04 等待最好的两个人 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include using namespace std;const int maxe = 50000;const int maxn = 100500;const int INF = 0x3f3f3f;double dp[maxn];int map[maxn];int main(){ //freopen("E:\\acm\\input.txt","r",stdin); int N,M; while(cin>>N>>M &am 阅读全文
posted @ 2013-09-06 19:02 等待最好的两个人 阅读(150) 评论(0) 推荐(0) 编辑